Skip to content
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

Open
MatejFacko opened this issue Jun 23, 2022 · 5 comments
Open

Option to persist React Hook Form DevTool in Production #140

MatejFacko opened this issue Jun 23, 2022 · 5 comments
Labels
wontfix This will not be worked on

Comments

@MatejFacko
Copy link

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?

@bluebill1049
Copy link
Member

why would you want to ship dev tool to your prod code? it will incase your package size quite a lot.

@bluebill1049 bluebill1049 added the wontfix This will not be worked on label Jul 1, 2022
@joelpierre
Copy link

joelpierre commented Dec 13, 2022

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.

@MatejFacko
Copy link
Author

@joelpierre exactly.

@jakobsuckow
Copy link

+1

@maangs
Copy link
Contributor

maangs commented Dec 2, 2023

I can't get the devtools to work when used in module federation (remote app), and this might be the solution for just that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

5 participants