Hey you guys, was wondering, is there a reagent like cljs project (react based or not) that have smaller js bundle size?
Reagent might work (but no support) with React compatible libs like Preact or Inferno (through inferno-compat), which save some size. Shadow-cljs allows resolving requires to alternate packages: https://shadow-cljs.github.io/docs/UsersGuide.html#js-resolve
1👍thanks guys
What exactly do you mean by "reagent like"?
Reagent might work (but no support) with React compatible libs like Preact or Inferno (through inferno-compat), which save some size. Shadow-cljs allows resolving requires to alternate packages: https://shadow-cljs.github.io/docs/UsersGuide.html#js-resolve
1👍Not sure if it is documented somewhere, but I'm quite sure React can't be used to create html, head or body elements. React render target has to be a element inside body.
thanks guys