Skip to content
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

React 18 を使用していると Storybook で ReactDOM.render の警告が出る #25

Closed
hosonokotaro opened this issue Jan 2, 2023 · 1 comment

Comments

@hosonokotaro
Copy link
Owner

hosonokotaro commented Jan 2, 2023

当面は React 18 に完全対応するまでこの issue を立てておきます。今の所、これによって問題は発生していないです。

下記に要約あり
storybookjs/storybook#17831 (comment)

React 側の記述
https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#updates-to-client-rendering-apis

Storybook 側で新しい root API のオプトアウト設定
https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#react18-new-root-api

@hosonokotaro
Copy link
Owner Author

hosonokotaro commented Jan 2, 2023

Regacy root API の有効化
a3ea244

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant