How to use the redux-devtools-core/lib/utils.getSeralizeParameter function in redux-devtools-core

To help you get started, we’ve selected a few redux-devtools-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jhen0409 / react-native-debugger / app / worker / reduxAPI.js View on Github external
pauseActionType = '@@PAUSED',
    actionCreators,
    filters,
    actionsBlacklist,
    actionsWhitelist,
    actionSanitizer,
    stateSanitizer,
    deserializeState,
    deserializeAction,
    serialize,
    predicate,
  } = options;
  const id = generateId(options.instanceId);

  const serializeState = getSeralizeParameter(options, 'serializeState');
  const serializeAction = getSeralizeParameter(options, 'serializeAction');

  return next => (reducer, initialState) => {
    const store = configureStore(next, monitorReducer, {
      maxAge,
      shouldCatchErrors,
      shouldHotReload,
      shouldRecordChanges,
      shouldStartLocked,
      pauseActionType,
    })(reducer, initialState);

    instances[id] = {
      name: name || id,
      id,
      store,
      filters: getLocalFilter({
github jhen0409 / react-native-debugger / app / worker / reduxAPI.js View on Github external
shouldStartLocked,
    pauseActionType = '@@PAUSED',
    actionCreators,
    filters,
    actionsBlacklist,
    actionsWhitelist,
    actionSanitizer,
    stateSanitizer,
    deserializeState,
    deserializeAction,
    serialize,
    predicate,
  } = options;
  const id = generateId(options.instanceId);

  const serializeState = getSeralizeParameter(options, 'serializeState');
  const serializeAction = getSeralizeParameter(options, 'serializeAction');

  return next => (reducer, initialState) => {
    const store = configureStore(next, monitorReducer, {
      maxAge,
      shouldCatchErrors,
      shouldHotReload,
      shouldRecordChanges,
      shouldStartLocked,
      pauseActionType,
    })(reducer, initialState);

    instances[id] = {
      name: name || id,
      id,
      store,