Comment by lghh
3 years ago
> Plus now it's a lot harder to index the pages
Why does using react mean it is harder to index pages? You can certainly write something that's difficult to index in React, but using React does not mean it is inherently more difficult to index. This is especially true if you're using SSR + modern react features with a meta-framework like Next.js
> supporting people who use older software and older computers doesn't make financial sense for Microsoft
Pretty much the same point here. Fundamental misunderstanding of React.
You just said it: if your HTML delivers a react app that hasn’t taken the extra steps to be SSR, then the crawler has to run the JS in order to index the content instead of just parsing the HTML response.
Modern component libraries make it harder to write the site in a non-indexable way than to just make it easy to index.
Only as a user of Next and similar renderers. The default in the larger web application world is to ship an empty target element and a JS bundle.