使用Zustand Store时,在React DevTools中编辑状态变量
在React DevTools中,您可以轻松地编辑和切换状态变量 - 在本地,上下文中或使用Redux DevTools(例如Redux DevTools)存储。
有没有办法使用Zustand Store Hooks做到这一点?在我看来,就像他们只是读书一样。
In React devtools you can easily edit and toggle state variables - either stored locally, in Context, or with some fancy add-ons like redux devtools.
Is there a way to do that with Zustand store hooks? It seems to me like they're just readonly.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论