Main Idea:
I'm trying to make in Vue.js a modal routing for a feed, so you won't lose the feed position if you enter a post.
Now make sure you watch this video:
[login to view URL]
** This is an implement of this feature in Next.js. **
** And this is the POC in [login to view URL]: **
[login to view URL]
The main trick of this modal routing is to navigate with the router to a query url (?post=1), but the user will see in the url "/post/1" (in case he will refresh or enter directly to the url)
*** What I need from you: ***
A very simple proof of concept of this feature in Vue.js
*** Notes: **
This is a bit tricky to do with Vue.js router and should involve vanilla js to handle the back/next in the brower and more.
Please read all, watch the video and tell me if you think you're able to do it.