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.
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 😅