Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
tppiotrowski
3y ago
0 comments
Share
Correct. This is only for SPAs that use client side routing like react-router. React SPAs are quite common with startups in my experience.
0 comments
default
newest
oldest
dbbk
3y ago
Crawlers like Google's run JavaScript now though, so your example is outdated.
tppiotrowski
OP
3y ago
This isn't only for googlebot but Twitterbot, slackbot, facebookbot and [fill-in-blank]bot that fetch your page to generate a url preview in their app when links from your domain are shared.
dbbk
3y ago
If that's your concern it probably makes more sense to just be server-rendering at that point
1 more reply
j
/
k
navigate · click thread line to collapse