Skip to content

Redux dev tools configuration #609

@artem9

Description

@artem9

typeof window !== 'undefined' && window.devToolsExtension
? window.devToolsExtension()
: f => f

The official extension page says:

Note that starting from v2.7, window.devToolsExtension was renamed to window.REDUX_DEVTOOLS_EXTENSION / window.REDUX_DEVTOOLS_EXTENSION_COMPOSE.

For the basic usage we can use the following configuration:
typeof window !== 'undefined' && window.__REDUX_DEVTOOLS_EXTENSION__ ? window.__REDUX_DEVTOOLS_EXTENSION__() : f => f

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions