4 ms·
If you go by hacker news crowd, everyone despises React and SPAs are worst thing ever happened to web. In reality it exactly opposite. Most people use React, ar
by cyberpsybin 5y ago
If you go by hacker news crowd, everyone despises React and SPAs are worst thing ever happened to web.
In reality it exactly opposite. Most people use React, are satisfied and SPAs perform way better than your usual website that refreshes on every click.
- fuzzy2 5y agoSPAs are fine. Server-side rendering is fine, too. What's not fine is using SPAs for static pages or server-side rendering for highly interactive web applications. Unfortunately, SPAs are often used where a classic SSR page would suffice, all in the name of "performance optimizations" and whatnot. Meanwhile, UX suffers because often edge cases like slow/spotty connections, device sleep or even just accessibility or not considered at all.
- ptx 5y agoRefreshing on every click is super fast if you're not loading megabytes of JS. Maybe everyone on HN despises SPAs because we've all seen how fast, light and reliable HN itself is compared to e.g. Twitter where clicking anything usually brings my computer to a crawl and half the time shows a loading error.