Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
tppiotrowski
4y ago
0 comments
Save
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
3 comments · 1 top-level
top
newest
oldest
dbbk
4y ago
· 2 in thread
Crawlers like Google's run JavaScript now though, so your example is outdated.
tppiotrowski
OP
4y 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
4y 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