-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fix(middleware/devtools): add enabled
option and show devtools warning only if enabled
#880
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 826eb58:
|
Thanks for working on this. |
So, 4b7fc77 is an idea. We have three modes: |
enabled
option and show devtools warning only if enabled
enabled
option and show devtools warning only if enabledenabled
option and show devtools warning only if enabled
Co-authored-by: Daishi Kato <[email protected]>
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.
should be good to go.
Resolves #878
Closes #852
Also close #874
This PR adds
enabled
option and, ifenabled=true
shows the warning and then returnfn
immediately! This resolved the concern described in #878.