Skip to content

Should not require conditional rendering #15

@twhitbeck

Description

@twhitbeck

Using react-query's devtools as an example, we should be able to render the MSWToolbar all the time and have the library itself take care of nooping if NODE_ENV === 'production':

https://react-query.tanstack.com/devtools

By default, React Query Devtools are only included in bundles when process.env.NODE_ENV === 'development', so you don't need to worry about excluding them during a production build.

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