-
-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to latest version of react-reconciler #83
Comments
You are right. Unfortunately I don’t have much time right now. I will of course review and probably accept a PR fixing this issue :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Even though the README says that this library will work with React's latest v16.x.x, it does not seem that we can use the new lifecycles and context APIs introduced in React v16.3. For example:
<Consumer>{value => /* renderable */}</Consumer>
in the tree, I get an errorInvariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
React.createRef
I think this is because this library is using an outdated version of
react-reconciler
. That's where the latter invariant violation originates, and if I look up that invariant in the latest version ofreact-reconciler
, there is logic about the new context API that does not exist in the version used by this library.The text was updated successfully, but these errors were encountered: