You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// 1. Attach { getState, dispatch } to each krf reducers// 2. krf reducers "toContext" use that instead of given store// 3. Have a function to set new { getState, dispatch } to each krf reducers// 4. Use this to set store the first time// 5. Have a function to clone the reducer tree (each krf) given a the store (clone the store)// /!\ Take care, it should not clone the store (redux one)// 6. In listener middleware// a. Clone the store (with all krf reducer cloned)// b. Set the new { getState, dispatch } with enhanced dispatch// c. Pass the new "store" to reactions/* const keys = [...Object.keys(reduxStore), 'listeners'] const reducerTreeKeys = Object.keys(store).filter(key => !keys.includes(key)) console.log(Object.keys(store.config)) */
The text was updated successfully, but these errors were encountered:
So it is easier to debug.
The text was updated successfully, but these errors were encountered: