remote-redux-devtools v0.4.7 Release Notes

Release Date: 2016-08-31 // almost 6 years ago
  • 🆕 New options to sanitize states and actions:

    • stateSanitizer - function which takes state object and index as arguments, and should return state object back.
    • actionSanitizer - function which takes action object and id number as arguments, and should return action object back.

    Example of usage:

    export default function configureStore(initialState) { // Note: passing enhancer as last argument requires [email protected]\>=3.1.0const store = createStore( rootReducer, initialState, devTools({ actionSanitizer: (action) =\> ( action.type === 'FILE\_DOWNLOAD\_SUCCESS' && action.data ? { ...action, data: '\<\<LONG\_BLOB\>\>' } : action ), stateSanitizer: (state) =\> state.data ? { ...state, data: '\<\<LONG\_BLOB\>\>' } : state }) ); return store; }
    

    ⬇️ Downgraded socketcluster-client to fix Windows issues.