fulcro

Book: http://book.fulcrologic.com, Community Resources: https://fulcro-community.github.io/, RAD book at http://book.fulcrologic.com/RAD.html
aratare 2021-01-09T11:16:53.263700Z

Hi there. I have a small problem when trying to use interop.react-factory with a react component. The problem lies with the component being of type React.FunctionComponent instead of Component, and thus the factory returned doesn't work at all. In fact when used, there are runtime errors in the browser console complaining the generated component from the factory is of type null. Has anyone come across something like this and can point me to the right direction? Thanks in advance.

aratare 2021-01-09T11:55:18.265200Z

Update: I got it working by... using the same thing I used previously. And now it works and I'm so dumbfounded right now. Thanks for letting me rubberducking 😅