Skip to content

NextJS upgrade #12

Description

@brown2020

Thanks for adding NextJS support, but I haven't been able to get it working yet, just putting the disableReactDevTools() function in _app.js. The entire component tree is still visible with dev tools. Everything works great in React, but I haven't found a working solution yet for NextJS. Please advise on how you made it work. Thanks!

Update: I solved it by importing the code and making it into a hook that I call in _app.js

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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