-
Notifications
You must be signed in to change notification settings - Fork 47k
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
Provide a better message when component type is undefined with SSR #11902
Comments
@lukasborawski you should be running the same versions of Otherwise, we'll need an example that reproduces the issue so we can investigate it. Thanks! |
Have a same issue.
In the first argument of { '$$typeof': Symbol(react.element),
type: undefined,
key: null,
ref: null,
props: {},
_owner: null } Versions of - "react": "^16.0.0",
+ "react": "^16.2.0",
- "react-dom": "^16.0.0",
+ "react-dom": "^16.2.0", |
Please provide a reproducing project. We can’t help otherwise. |
(My best guess is you imported a component incorrectly and thus ended up with |
@gaearon This project that should reproduce the issue |
That project should reproduce the issue. https://github.com/yerlanyr/reactrouterserver
Text of error when 16.2.0
|
For me this was a problem with |
We should probably provide a better error message if component type is undefined. |
If no one is working on this I can do it today or tomorrow also happy new year! |
Sure! |
@gaearon looks like it's fixed in master, tried building and got this:
To reproduce the
So I guess both this issue and PR #11966 can be closed 👌 |
@gaearon and @timneutkens I just was looking at this last night (after a hiatus) and saw that it was essentially fixed. I updated my PR to match the error in |
This might be a reference to this one: #10212 (comment)
The problem still exist.
So, trying to render with server side and got this error. I don't have this notation in my code but this might be a problem with dependencies.
Thx for help.
The text was updated successfully, but these errors were encountered: