- Notifications
You must be signed in to change notification settings - Fork1k
chore(site): add react query dev tools#11293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Great addition! I'm wondering if we want to have this bundled into the production build 🤔. Probably dynamically import this module only on development is the best approach.
@BrunoQuaresma great point. By default, they 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. |
Learn more about React Query devtoolshere
They are excluded from production builds
https://www.loom.com/share/c8632995351a408091e41cd948645335?sid=8c482c12-460b-4bc5-afb1-b423ca3bba4b