Answer the question
In order to leave comments, you need to log in
How to update a component depending on localstorage state?
I have two pages
localhost:3000 and 1.localhost:3000, after some actions I do a redirect and transfer some data from localhost:3000 to 1.localhost:3000, I get this data on the second page, but only after updating it, how to get this data on the first redirect? To avoid having to update the second page? (The data is in localstorage)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question