top | item 37551559

(no title)

JohnMunsch | 2 years ago

I don't want to poop all over someone else's project (hell, it's hard as hell to do anything like this), but I have to say that this feels like exactly what you said, a React/Vue/etc. alternative. But that is absolutely not what I want and not what I think will do people the most good in the long run.

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.

discuss

order

niutech|2 years ago

Have you tried Stencil (https://stenciljs.com)?

JohnMunsch|2 years ago

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.