Open M-Davies opened 3 years ago
useState()
can't be used across components so the alternative that I'm considering is having the current token state stored on the server instead and having each component query the server for the token state on change or load
This was done for development reasons but allows end users to access secret content at will and should be investigated for removal