6 ms·
I understand some of the disparaging replies i regards to execution, but if I'm honest, as someone who writes a lot of React, the idea of ditching it for a univ
by dynamite-ready 3y ago
I understand some of the disparaging replies i regards to execution, but if I'm honest, as someone who writes a lot of React, the idea of ditching it for a universally support standard of any kind, is a very appealing idea.
- troupo 3y ago> ditching it for a universally support standard of any kind RawJS ain't it. If anything, React' JSX is the universally supported standard these days :)
- evantbyrne 3y agoReact is great when you absolutely need state management on the frontend, but is overkill for the vast majority of frontend components to the point I would say it basically doubles the time to create a SPA. I wish I could just import it for one-off components and use traditional HTML rendered by the server for everything else.
- troupo 3y agoYou can use many other frameworks for that like Svelte (with SvelteKit), or Solid (with SolidStart)
- evantbyrne 3y agoWe can also use React for that–the issue is the bundle size and it does not appear to be designed to share the DOM. I would love to see these smaller libraries document the process and best practices for using them within otherwise vanilla environments.