-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Upgrade React version of manager #20420
Upgrade React version of manager #20420
Conversation
Signed-off-by: Shogo Hida <shogo.hida@gmail.com>
This will require a couple of other changes:
|
Signed-off-by: Shogo Hida <shogo.hida@gmail.com>
Signed-off-by: Shogo Hida <shogo.hida@gmail.com>
Signed-off-by: Shogo Hida <shogo.hida@gmail.com>
Signed-off-by: Shogo Hida <shogo.hida@gmail.com>
@shogohida I'd expect changes here: storybook/code/ui/manager/src/index.tsx Lines 80 to 86 in d18331f
Or is my assumption incorrect? |
@shogohida will you be making the required changes @thebuilder mentioned on this PR? I'm very excited to get storybook's manager UI upgraded to react18! But this will need more work to get merged, and we definitely do not want this be much closer to the release-date; in fact I suspect @shilman might already find it too risky (even though it's the manager, addons could potentially break..?) Can you tell me your plans for this PR? If you're stuck on anything please reach out to me on Discord. 🙏 |
@ndelangen I was busy with my job and left this issue undone 🙇 Sorry about that. |
Signed-off-by: Shogo Hida <shogo.hida@gmail.com>
Please don't feel sorry, your efforts are appreciated! My name is the same on discord, I'm usually online. just ping me.. You can also schedule a meeting with me here: |
@ndelangen |
Signed-off-by: Shogo Hida <shogo.hida@gmail.com>
Signed-off-by: Shogo Hida <shogo.hida@gmail.com>
Signed-off-by: Shogo Hida <shogo.hida@gmail.com>
@ndelangen In addition, I checked failing tests but I don't know how to solve them.... |
Nope the npm lock files were removed, so I deleted the negative review. Perhaps we can ask for help from other contributors? |
Sure! I asked for support on Discord https://discord.com/channels/486522875931656193/1035683992684478534/threads/1063835517969498192 |
I read error messages of failing tests and looked for solutions on Google. I write down notes here from my investigations so that other contributors can easily see what happened. Notes:
|
If you start storybook on this branch, it simply doesn't render anything at all: |
"dependencies": { | ||
"@types/react-dom": "^18.0.10" | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fwiw, I think this can be moved into devDependencies
Not 💯% on this as I have not tested it out myself, but after reading this comment, I think this PR might benefit from a similar approach to #21197 |
Closing in favour of #21673 |
Issue: #20378
Signed-off-by: Shogo Hida shogo.hida@gmail.com
What I did
Upgraded React version of manager
How to test
If your answer is yes to any of these, please make sure to include it in your PR.