Ali Toshmatov
May 24, 2021

--

Hi cool article, I have question, when I am logging uer out when his token is invalid, I am facing difficulty to make react component aware instantly. I can clear localStorage but I am not able to effect my global state as I have only access to them from inside component. Do you have any suggestions, by the way I am using context api.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Responses (1)

Write a response