Use React Hooks in Custom Functions? #1341
zackrw
started this conversation in
API Questions
Replies: 1 comment
-
Hi @zackrw, thanks for reaching out. It should be possible to use react hooks inside a custom function, but I haven't tried it, so I cannot be sure. If you encounter any problems with that, feel free to share your code and we'll do our best to help you. Note, however, that asynchronous custom functions are not supported at the current stage of development. Some discussions about that: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example, if I have a useUser() hook, I want to register a custom function that can access that data. Might that be possible?
Beta Was this translation helpful? Give feedback.
All reactions