3 ms·
> What I don’t get is why I’d use it if I can’t write a reasonable complex SPA with it. Because most webpages don't need to be SPAs. I miss the days of jquery
by krzyk 10mo ago
> What I don’t get is why I’d use it if I can’t write a reasonable complex SPA with it.
Because most webpages don't need to be SPAs.
I miss the days of jquery and html+css, where everything was snappy, and wasn't an SPA.
- CooCooCaCha 10mo agoPlain react is arguably just as simple if not simpler than jquery. And I’m not saying every site needs to be an SPA. I’m saying if I can write everything from a simple site to an SPA in a single framework then why not use that for everything?
- H1Supreme 10mo agoHow do you handle routing with plain React?
- CooCooCaCha 10mo agoUsing built-in browser apis. Not sure what you’re getting at.
- codedokode 10mo agoReact is an implementation of View component of MVC, View is responsible for displaying Model contents, not for handling routes. You are trying to use the wrong tool.
- yawaramin 9mo agoThat's what we've been trying to tell you!