We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
有的情况下我需要通过ReactDOM.createRoot去渲染一些react组件,这样的话,在这个react组件里就拿不到theme的上下文了,这个有什么好的解决办法,
现在我的尝试
这两个一个性能问题,一个比较麻烦
The text was updated successfully, but these errors were encountered:
render 外层包一个 ThemeProvider 然后把 theme 注入呢?
Sorry, something went wrong.
No branches or pull requests
🧐 问题描述
有的情况下我需要通过ReactDOM.createRoot去渲染一些react组件,这样的话,在这个react组件里就拿不到theme的上下文了,这个有什么好的解决办法,
现在我的尝试
这两个一个性能问题,一个比较麻烦
The text was updated successfully, but these errors were encountered: