Skip to content

Error setting up #15

Closed
Closed
@oyeanuj

Description

@oyeanuj

Hi @leoasis! I was looking to try your library but ran into the following error right away. (Apologies if this is a n00b error)

RangeError: Maximum call stack size exceeded
[1]     at trackProperties (node_modules/redux-immutable-state-invariant/dist/trackForMutations.js:18:3)
[1]     at trackProperties (node_modules/redux-immutable-state-invariant/dist/trackForMutations.js:24:31)

Relevant code setting up:

let middleware = [createMiddleware(client), transitionMiddleware];
  if (__DEVELOPMENT__) {
    const logger = createLogger({
    logger: console
    });

   const immutableState = require('redux-immutable-state-invariant')();
    middleware = [
    createMiddleware(client),
    transitionMiddleware,
    logger,
    immutableState
    ];
  }

  finalCreateStore = applyMiddleware(...middleware)(_createStore);

I am running "redux": "^3.0.5" if that helps diagnose.

Any help would be much appreciated, and thank you for the library!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions