Riot.js hooks #2938
-
Some users requested the hooks API. It would be nice to create an example using them or eventually add an ecosystem package to simplify their use. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I found an example using hooks. |
Beta Was this translation helpful? Give feedback.
-
the kooks example was added to our official examples riot/examples@96cf7fc Thank you @Elastic1 for the link |
Beta Was this translation helpful? Give feedback.
-
I currently use React at work and Riot for a side project. I know which I prefer, so I'm curious to understand the desire for Riot w/ hooks. |
Beta Was this translation helpful? Give feedback.
I found an example using hooks.
https://plnkr.co/edit/XLywmSB7c4NXOhhU?preview