Skip to content

ReferenceError: useEffect is not defined #1787

@mbaumbach

Description

@mbaumbach

Describe the bug
Runtime error of ReferenceError: useEffect is not defined in node_modules/react-query/es/devtools/useLocalStorage.js:17

To Reproduce
Steps to reproduce the behavior:

  1. Install 3.9.0
  2. Have the devtools component in your hierarchy
  3. Open your app in the browser
  4. See error

Expected behavior
No errors.

Desktop (please complete the following information):

  • OS: All
  • Browser: All
  • Version: All

Additional context
Seems to be due to the change in #1727

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions