redux使用

redux使用 redux使用 store action reducer redux使用 redux是react狀態管理的庫。它建立了一個全局的狀態樹,react組件共享這個狀態樹。分爲三個部分,store,action,reducer。react store 1.store中存放着須要用到的狀態,且只能由一個store 2.store由createStore(reducer)建立 3. stor
相關文章
相關標籤/搜索