| ▲ | cyanregiment a day 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 | ||
| ▲ | actee 14 hours ago | parent | next [-] | |
> Bonus points at scale you invent a templating solution. Maybe you use JSX FYI this exists https://github.com/developit/htm which couples well with preact browser only (no npm/node compilation) | ||
| ▲ | Garlef 19 hours ago | parent | prev [-] | |
> Bonus points at scale you invent a templating solution. Maybe you use JSX I think this is an underrated perspective in these discussions. | ||