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

useWhyDidUpdate是否只在开发环境下生效? #2649

Open
etheral12138 opened this issue Sep 17, 2024 · 1 comment
Open

useWhyDidUpdate是否只在开发环境下生效? #2649

etheral12138 opened this issue Sep 17, 2024 · 1 comment

Comments

@etheral12138
Copy link

image
想要使这个hook只在开发环境下生效,而不在生产环境下生效,但是在源码中没有看到isDev的判断?

@goodjun
Copy link
Contributor

goodjun commented Sep 26, 2024

可能build的时候启用了一些禁用console的参数或插件,可以排查一下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants