You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
react-cmp will no be a functional component. We can use as-element in the reagent-cmp and use the function as a react component but this prevent us to use ratom inside.
Will it be possible to add an option to make reactify-component return a functional component ?
Thanks
The text was updated successfully, but these errors were encountered:
This is a bug, I've forgotten to implement the function-components case for reactify-component. It should be possible to implement this using the existing API.
I did not found any way to make reactify-component return a functional component.
Even if I use it with a functional compiler like this :
react-cmp
will no be a functional component. We can use as-element in thereagent-cmp
and use the function as a react component but this prevent us to use ratom inside.Will it be possible to add an option to make reactify-component return a functional component ?
Thanks
The text was updated successfully, but these errors were encountered: