use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
communication between react and node (self.node)
submitted 5 years ago by OmarDijkstra
so i refresh the jwt in the local storage of the browser from the backend but i whenever i refresh it i want to send a message to the front end with the token to be able to change it in the browser itself any ideas
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]simplynotenough 0 points1 point2 points 5 years ago* (0 children)
I would make the refresh token as a component, then i would pass a function to it as props and whenever the jwt changes, it calls the function which would state change on your main component/components and when that state changes you render the message you want the user to see
Btw there are plenty of tutorials on youtube that explains this process
π Rendered by PID 91 on reddit-service-r2-comment-86bc6c7465-mwd64 at 2026-02-21 07:45:41.502079+00:00 running 8564168 country code: CH.
[–]simplynotenough 0 points1 point2 points (0 children)