prod-friendly devtools (remove action menu) #7696
Replies: 2 comments
-
can I put up a PR? |
Beta Was this translation helpful? Give feedback.
-
If you have access to the production app (valid credentials/token), then what prevents you from sending requests directly to your backend bypassing front-end entirely. Whether devtools expose functionality to modify cache or not, you should not be able to modify Therefore i do not think we need to complicate devtools logic even more by preventing something that should not matter. |
Beta Was this translation helpful? Give feedback.
-
Is there any appetite for a production friendly version of devtools? (idea being to remove the action menu in the production version) There's some debate at my work about lazy-loading devtools and obscuring them (as mentioned in react query docs) but in the perfect world there might be a version of the tool that is more suited to production in that it can't set application state directly.
If this idea sounds ok, any idea if it's easy/hard/etc? Was thinking to submit a PR unless it's a rabbithole
Beta Was this translation helpful? Give feedback.
All reactions