Skip to content

Re-export setGlobalDevModeChecks from reselect #4681

@nodwyer4

Description

@nodwyer4

Hi, we'd love the ability to directly import setGlobalDevModeChecks from @reduxjs/toolkit rather than importing the values from reselect

We are importing it currently using this so that we can run our test files without the stability checks for performance reasons. We have these turned back on for our tests in CI

const { setGlobalDevModeChecks } = require(
    require.resolve("reselect", {
        paths: [require.resolve("@reduxjs/toolkit")],
    }),
);

Your current exports for re-select

export type { Selector, OutputSelector } from 'reselect'

Happy to raise a pr to change to this, as long as you are happy with the change

export type { Selector, OutputSelector, setGlobalDevModeChecks } from 'reselect'

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions