3 ms·
You don’t need React until you do. And that’s fine. It’s easy to replatform later with LLMs. With vanilla you typically do class based components for organiza
by cyanregiment 2mo ago
You don’t need React until you do.
And that’s fine. It’s easy to replatform later with LLMs.
With vanilla you typically do class based components for organization (which can be quite clean in type=“module” with import/export) and you end up writing a complex View type class that does all the DOM manipulation.
You gotta hide the framework somewhere or you’ll repeat yourself a lot
Bonus points at scale you invent a templating solution. Maybe you use JSX
- Garlef 2mo ago> Bonus points at scale you invent a templating solution. Maybe you use JSX I think this is an underrated perspective in these discussions.
- actee 2mo ago> Bonus points at scale you invent a templating solution. Maybe you use JSX FYI this exists https://github.com/developit/htm https://github.com/developit/htm which couples well with preact browser only (no npm/node compilation)