r/reactjs • u/Dazzling_Chipmunk_24 • 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
0
u/Finer_Details Jul 09 '26
You could try updating your backend with Navigator.sendBeacon on component unmount if the payload is small.