-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Objects are not valid as a React child #127
Comments
@willo-icon can you put a small reproduction together? Its working in the test project of this repo and hard to debug without one 😅 sorry you ran into this! |
No sweat, I will try to get one going in a bit. Thanks for the quick response. |
Encountered this also when moving to |
@philostler can you put a reproduction together? |
I am running into the same problem, it could have something to do with the fact that i'm moving to react-vite. I will put a reproduction together! |
I scaffolded this repo to reproduce the issue. The problem is when running React 18. |
@joostslijkoort thanks! Fixed in 8.1.0 if you run into any issues, try clearing your |
I am still seeing this issue in |
Still seeing the issue in |
@anthonyjgrove , downgrading the addon to 7.3.0 works with Storybook 8.5.3. |
Tested this with |
@anthonyjgrove @RickCardoso @philostler sorry for the false positive here, I've reached out to the storybook team about it and Shilman (the lead maintainer) is helping me find someone within storybook to help uncover what might be going on, storybook recently made react an internal dependency (they have their own version of react for addons and the story manager) and I suspect this is what might be causing the issue. Will report back once we uncover what's going on. |
just for context: you can track more info on this here: storybookjs/storybook#30552 |
should be fixed in latest release now :) |
Just updated to 8.0.0 and I'm getting this:
It goes away if I disable the
storybook-addon-apollo-client
addon inmain.ts
, or if I revert to7.3.0
.Here are my relevant dependencies and versions:
The text was updated successfully, but these errors were encountered: