hooks icon indicating copy to clipboard operation
hooks copied to clipboard

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

Open etheral12138 opened this issue 1 year ago • 1 comments

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

etheral12138 avatar Sep 17 '24 11:09 etheral12138

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

goodjun avatar Sep 26 '24 09:09 goodjun