Can you subscribe certain parts of a state in Zustand?

前端 未结 0 1308
青春惊慌失措
青春惊慌失措 2021-02-03 12:27

Currently, when changing states in a component, I subscribe the state to a store which updates when a function I call finishes. I do this by:

useAirQualityStore.g         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题