3 ms·
I've spent the previous month working with React for the first time and I find myself longing for the simpler days. There's absolutely no reason why it was need
by tjpnz 4y ago
I've spent the previous month working with React for the first time and I find myself longing for the simpler days. There's absolutely no reason why it was needed for this project, much less for it needing to be a SPA. The codebase is bloated, the dev environment is slow and unwieldy (even on my M1 Max) and just doing simple things takes longer. The only small saving grace is we're using TypeScript.
If we're ever in a position to rewrite it I'll be pushing hard for Rails or Django with simple server rendered HTML. Anything less would be doing us and our internal customers a disservice in terms of how quickly we can deliver features.
- agumonkey 4y agoI'm not pro-react but I find it much saner than rails/django. My brain can't wrap writing server side blend of js and html, the component way makes code pretty clean right away, and live reload is faster in vue/react than django (afaik). Not saying that the js world is great by any mean, or that in your case simple html templates would do, but most of the time I rapidly feel the need to have react/vue to make things clearer or safer (and prettier).
- jjdeveloper 4y agoHave you tried Astro. Lets you get back to basic html, css and it’s not a SPA but an old school MPA. Lets you use react or similar for any interactive component but without SPA complexity. Worth a look but always depends on what your needs are.