Skip to content

toISOString is not a function #315

@justusburger

Description

@justusburger

Since a few days ago, whenever I load my React + Redux app with the dev tools open, I get an error in the console saying:

Uncaught TypeError: toISOString is not a function
at String.toJSON ()

When I disable the Redux extension the error goes away. I suspect the issue has todo with the extension trying to parse/format my redux state and there is something that's causing issues.

The app I'm building is isomorphic, so I pass my store's initial state in a script tag. I would imagine that you'll be able to recreate the issue by simply trying to parse my initial state with the extension's parsing function.

Note that I do run the state.app section through immutable.fromJS on the client just before seeding the new store.

screen shot 2017-02-27 at 8 06 15 am

screen shot 2017-02-27 at 7 54 12 am

Im happy to send you the link to the site in question in a DM or something, just not 100% comfortable with posting it here.

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