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
On this note, as our store grows (i.e. more actions, reducers, configs), we might also need a better organized directory structure under @app/Shared/Redux. Some useful readings: https://redux.js.org/faq/code-structure
The text was updated successfully, but these errors were encountered:
We are using
store.subscribe
to save redux states into local storage:cryostat-web/src/app/Shared/Redux/ReduxStore.tsx
Line 62 in 7be7437
This works but there are some issues:
JSON.parse
is a pretty expensive operation and should not be called too frequent.We can explore this package as an alternative: https://www.npmjs.com/package/redux-persist
On this note, as our store grows (i.e. more actions, reducers, configs), we might also need a better organized directory structure under
@app/Shared/Redux
. Some useful readings: https://redux.js.org/faq/code-structureThe text was updated successfully, but these errors were encountered: