profile
Do what you feel now

Django & React-Native: Global State - Redux environment setting

While you have been using useState(), you may wonder if we can share state to other pages. Redux is a JavaScript library for managing state. By using Redux, we can save(dispatch) states into the each local storage(reducer), and retrieve(selector) the state anywhere we want globally. We will talk about dispatch and selector in another chapter. There are three big steps to set the redux environment : Make reducer in memoSlice.js Make store.js Add provider in App.js Briefly,

2021년 9월 29일
·
0개의 댓글
·