4 ms·
Correct. This is only for SPAs that use client side routing like react-router. React SPAs are quite common with startups in my experience.
by tppiotrowski 4y 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.
- dbbk 4y agoCrawlers like Google's run JavaScript now though, so your example is outdated.
- tppiotrowski 4y agoThis 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 agoIf that's your concern it probably makes more sense to just be server-rendering at that point
- tppiotrowski 4y agoMy main concern is cost. Cloudflare workers are free.
- dbbk 4y agoSo is Vercel