4 ms·
Yes, it's a real issue. There's even a VC funded startup that specializes in a React based blogging tool: https://www.gatsbyjs.org/ https://www.gatsbyjs.org/. I
by Touche 8y ago
Yes, it's a real issue. There's even a VC funded startup that specializes in a React based blogging tool: https://www.gatsbyjs.org/ https://www.gatsbyjs.org/. If you work as a web developer there's just no denying it; using a SPA framework has become the default for all new projects, full stop, regardless of the type of project.
For data, look up often reported stats on JS size.
- jakelazaroff 8y agoWhen did progressive enhancement become a bad thing? Gatsby generates static files with functional markup, then layers React on top of that for an even better experience. Try loading e.g. https://overreacted.io https://overreacted.io with JavaScript disabled. It works perfectly.
- Touche 8y agoPick any article on that page. Scroll to the bottom and refresh. In a tradition site the browser would remember your scroll position. Here it doesn't, likely due to using client-side routing in JavaScript. So instead you're taken to the start of the article each time. It's this type of detail that's really difficult to get right when you choose to opt-out of decades of iteration and do everything yourself.
- jakelazaroff 8y agoSure, but "not retaining scroll position on refresh" is hardly a case of throwing the baby out with the bathwater.
- Touche 8y agoYou can't dismiss this bug like that. Having multiple tabs open and having those tabs get taken out of memory and needing to refresh is a very common thing to happen. This is a bad bug for this particular website. Now, you said that by layering a SPA on top that an "even better experience" is provided. What exactly is the better experience? Just navigating around the site a bit I don't see anything particularly dynamic about it at all.
- jakelazaroff 8y agoActually, I just disabled JavaScript and tried reloading on a page, and that bug happens anyway. Not sure why that's happening, but it's not JavaScript. And considering it doesn't inhibit access to the content at all, "bad bug" is a gross overstatement. As for the better experience: faster loading and dark theme?
- tuesdayrain 8y agoGatsby is an amazing developer experience, definitely not something I would use as an example of an "issue".