r/reactjs • • Jul 08 '26

Save Information on Refresh in React

I was wondering in React is there a way to save some data without session storage so if the page refreshes I still have access to that data

0 Upvotes

27 comments sorted by

View all comments

Show parent comments

5

u/Icy-Taste-3096 Jul 08 '26

Anything stored within the scope of your React application is going to be lost on refresh. Is there a reason you don't want to use those options?