Shinyaigeek / shinyaigeek.dev

This is my blog page's repository. A daily report is in issue.
https://shinyaigeek.dev
8 stars 0 forks source link

Fix: routing history #128

Closed Shinyaigeek closed 3 years ago

Shinyaigeek commented 3 years ago

Problem

I prefetch and render content with routing. when user back/go with browser function, url will be changed but page content is not changed.

Solution

with onpopstate, render or assign

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/shinyaigeek/shinyaigeek/fjgnu3hq0
✅ Preview: https://shinyaigeek-git-update-routing-history.shinyaigeek.vercel.app