Replies: 1 comment
-
This is great, thanks for sharing! However, I don't see an active issue for maintainers to address so I'm moving this over to discussions. |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It'd be great if we can support creating clients as idiomatically correct react hooks.
I started on a useMosaicClient hook here that essentially monkey-patches an instance of the class. It's very unpolished, but seems to work. I thought I'd share here for anyone who may want a starting point, and to begin a conversation about how we might support this in a more first-party way.
Here is a macro hook, just for getting the count of a table (+ selection)
Beta Was this translation helpful? Give feedback.
All reactions