-
Notifications
You must be signed in to change notification settings - Fork 48
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to persist React Hook Form DevTool in Production #140
Comments
why would you want to ship dev tool to your prod code? it will incase your package size quite a lot. |
Valid reason would be, you have lower environments... like QA, Staging, Development etc and you want to interact with the dev tools. When deploying to these environments it is in essence a "production" build. I have this exact use case with ReactQuery and I hide it in the main/master production environment. |
@joelpierre exactly. |
+1 |
I can't get the devtools to work when used in module federation (remote app), and this might be the solution for just that. |
It would be nice to have an option to display DevTool also in Production env.
For inspiration nice workaround was introduced by ReactQuery here: TanStack/query#3296 . Would it be possible something similar also here?
The text was updated successfully, but these errors were encountered: