How to manipulate a global state outside of a React component using Recoil?

前端 未结 0 883
萌比男神i
萌比男神i 2021-02-09 01:35

I\'m using Recoil, and I\'d like to access the store outside a component (get/set), from within a utility function.

More generally, how do people write re-usable function

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