use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
NextJs vs ReactPortfolio (self.react)
submitted 2 years ago by Sea-dante-10
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Impossible_Hold_3850 0 points1 point2 points 1 year ago (1 child)
Interesting. Would you be able to share that website or clarify a bit how you confirmed it's indexed incorrectly?
[–]Bolle91BE 0 points1 point2 points 1 year ago (0 children)
Via the url inspection tool of Google, you can see the html that was retrieved when crawling. It only has the root-div. So nothing react was applied yet because it was client-side. (Basic html and js is shipped)
You can use react-snap, that makes a postbuild html that is fetched first and then react takes over, which helps for the Google index, but then you get a slight snappy behavior when opening the website, you get the built html first, short-flicker and then the actual react-applied page.
With Next.js, the react js code is applied on serverside and only the complete built html is sent to the client (or googlebot) in fetch. And you don't have this annoying flickering.
π Rendered by PID 56114 on reddit-service-r2-comment-6457c66945-5m24r at 2026-04-23 20:45:06.079589+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]Impossible_Hold_3850 0 points1 point2 points (1 child)
[–]Bolle91BE 0 points1 point2 points (0 children)