Re:Nue: A React/Vue/Vite/Astro Alternative
by niutech on Monday September 18, 2023 @05:42PM
(#37562487)
Have you tried Stencil (https://stenciljs.com)?
Re:Nue: A React/Vue/Vite/Astro Alternative
by JohnMunsch on Wednesday September 20, 2023 @05:22PM
(#37590362)
Not yet, but I may give it a try. The JSX this is as off-putting as a case of leprosy though. The idea that React needed to invent something new that wasn't JavaScript was absolutely terrible.
Re:Nue: A React/Vue/Vite/Astro Alternative
by niutech on Wednesday September 20, 2023 @06:11PM
(#37590864)
You don't need to use JSX. Stencil integrates with other frameworks such as Vue or Ember: https://stenciljs.com/docs/overview
Another project that largely ignores that custom elements and Shadow DOM are readily available on every modern browser (including the ones on your phone) and instead chooses to "simulate" components instead is... short sighted.
I crave something that attempts to fill in the missing pieces between something like say Angular and Lit. Give me something that treats a Web Component as its underlying tech for components but offers good support for animation. Something that comes with simple support for migrations (Ala Ruby on Rails) but doesn't include a ton of tooling for CSS that is not really needed anymore (I'm looking at you React) or was created before JS Modules and is still not making good use of them (ahem... Angular).
So, if someone is still stuck in React land, maybe this will be what they are looking for, but for someone keen to use what is built into modern browsers for speed and smaller apps, this seems like something we should pass on.