hard refersh for new version
Unanswered
Cuckoo wasp posted this in #help-forum
Cuckoo waspOP
Hi, we're facing a recurring issue .When we roll out a new version of the front end, how can we trigger a hard refresh in the user's browser tab? please recommend your ideas on this
#react #nextjs
#react #nextjs
2 Replies
you really should consider if you want this, because if the user is half way through writing or something that isnt synced and you refresh clearing all state, it will make some annoyed
anyway you could do a setIntival of pinging every x time on an endpoint to get random string that changes on every build