-
Notifications
You must be signed in to change notification settings - Fork 148
Uncaught Error: Argument appears to not be a ReactComponent #134
Comments
This is an issue for react-tv-navigation |
weird, I thought that was fixed in |
@robolivable what's the react version that you're using? |
Should be |
We got the same issue here at the first build of the app generated by the cli. Any idea how we can help you fix this? |
I might be heading in the wrong direction but it looks like the problem actually comes from react-tv. |
Ok fixed it, i'll do a PR for you to test it! Turns out findHostInstance is trying to get the fiberNode from the component given as parameter, except the element that is given to him is already a fiberNode! |
I released a react-tv@0.4.3, react-tv-navigation@0.4.3 and react-tv-cli@0.4.3 with @KevinMolotov changes/fix for that issue. Let me know if doesn't work and thanks for opening the issue. |
What do you expect to happen?
Run example app without errors.
What actually happens?
Errors encountered during react lifecycle.
Which browsers are affected?
Currently running on latest version of Chrome Canary (71.0.3567.0), but I've noticed similar behavior when executing the app inside the webOS emulator.
Additional info
It appears that
react-tv@^0.4.2
is causing errors during lifecycle:Downgrading to
react-tv@^0.3.4
is currently my only workaround for this issue.See this project for reproducing this issue (see branch
custom/issue-134-reproducible
):https://github.com/robolivable/TTV4TV/tree/custom/issue-134-reproducible
Side note: I can't seem to find the source files for version
0.4.2
ofreact-tv
. The latest here seems to be0.4.1
... Is this an intended deployment?Screenshots
The text was updated successfully, but these errors were encountered: