Re:We Improved React Loading Times by 70% with Next.js
by endisneigh on Monday October 24, 2022 @12:54PM
(#33319180)
SPAs can be indexed, so the entire premise of your post is invalid.
[ Parent
| on HN ]
Re:We Improved React Loading Times by 70% with Next.js
by pen2l on Monday October 24, 2022 @12:57PM
(#33319222)
Maybe Google can by traversing the virtual DOM and other trickery, that a hobbyist like me would have trouble doing? I imagine that in a healthy web I can right here and right now deeplink to something I'm thinking about. The SPA web is not as easily discoverable and not as easily linkable and not as connected, as it is very much meant to be. If you put up a different argument, like that SPA need to SPA because they are not just a series of pages and documents but complex applications which need to be that way, I would be open to entertaining that argument (though, again, with hesitance: I remember java applets and javascript bits doing complex things, submerged within documents, and that was all fine).
Re:We Improved React Loading Times by 70% with Next.js
by endisneigh on Monday October 24, 2022 @01:12PM
(#33319415)
You are conflating things. With urls you can link fine, spa or not. It’s possible to design a single page server side rendered page without properly implemented links.
The things you are describing are not attributable to spa inherently, just a poorly designed site
Re:We Improved React Loading Times by 70% with Next.js
by paulryanrogers on Monday October 24, 2022 @09:55PM
(#33325217)
Has it gotten easier to do deep links correctly with SPAs?
Back when I explored this it felt like working against the grain.
Re:We Improved React Loading Times by 70% with Next.js
by pull_my_finger on Tuesday October 25, 2022 @11:12AM
(#33331654)
With a lot of SSGs, you can pre-generate all your "entry points" and then after the initial entry, it can be a SPA experience where a client-side router takes over navigation.
Re:We Improved React Loading Times by 70% with Next.js
by robertoandred on Monday October 24, 2022 @01:26PM
(#33319613)
You can deeplink with SPAs just fine.