4 ms·
That literally means that you aren't doing SPAs. If you aren't doing SPA then yes using React or Vue is rather a waste. However the majority of sites these day
by Illniyar 8y ago
That literally means that you aren't doing SPAs. If you aren't doing SPA then yes using React or Vue is rather a waste.
However the majority of sites these days use some form of SPAs.
Also under a second is a very low bar to strive to. a fast round trip to the server is 100ms. A reasonable one is somewhere around 300ms. Displaying effects to changes is often under a millisecond in SPAs and is basically impossible to reach in Multi page applications.
- GordonS 8y ago> However the majority of sites these days use some form of SPAs Do you have a reference for that claim? I very much doubt you are correct, but I'd be interested in seeing some stats either way, if they exist.
- halfjoking 8y agoThe claim might be true among YC companies or even startups... but the majority of websites by far don't use React/Vue: https://w3techs.com/technologies/history_overview/javascript_library/all https://w3techs.com/technologies/history_overview/javascript... I'm not saying that React/Vue aren't important and drastically changing what's thought of as best-practices in web development... but just because everyone on HN uses a front-end framework for their websites doesn't mean "all websites" do it.
- GordonS 8y agoThanks, these are exactly the kind of numbers I was looking for!
- gbuk2013 8y ago> If you aren't doing SPA then yes using React or Vue is rather a waste. I disagree, based on my experience of writing a reasonably complex non-SPA application which very much benefits from Vue. I also think the fact that Vue Router ships as a separate app further suggests SPA is just one use case.