+ 1
React redux
We all know date will be lost on page refresh even though we store in redux or state. Any alternatives in storing data on page refresh?
1 Odpowiedź
+ 6
React apps usually interact with some backend server that holds the data (as most websites do).
An alternative way to persist data is to use the browser's local storage.
local storage usually used to persist small amount of data, such as personal user settings, web tokens, etc...