Y
Hacker News
new
|
ask
|
show
|
jobs
by
tppiotrowski
1520 days ago
Correct. This is only for SPAs that use client side routing like react-router. React SPAs are quite common with startups in my experience.
1 comments
dbbk
1520 days ago
Crawlers like Google's run JavaScript now though, so your example is outdated.
link
tppiotrowski
1520 days 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.
link
dbbk
1520 days ago
If that's your concern it probably makes more sense to just be server-rendering at that point
link
tppiotrowski
1519 days ago
My main concern is cost. Cloudflare workers are free.
link
dbbk
1518 days ago
So is Vercel
link