+ 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?

8th Apr 2020, 5:06 PM
mohnish
1 Resposta
+ 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...
8th Apr 2020, 7:09 PM
Burey
Burey - avatar