Hi Jipeng Li. If the user changes the query string manually, he would have to ‘hit enter’ (e.g refresh the page) to get the change reflected. At least that’s the assumption for the setup I made.
You might be able to create a listener for reacting to changes. But again, for me, it feels unnatural to change the URL of a page without refreshing it.

Fernando Abolafio
Fernando Abolafio

Written by Fernando Abolafio

Programmer — Modeling Revenue in code @GrowblocksHQ — Writing about Web Dev/React/Remix/NextJs — Software Architecture

Responses (1)