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

Replace react-resize-detector #2433

Open
YuHsuan-Hwang opened this issue Nov 15, 2024 · 0 comments
Open

Replace react-resize-detector #2433

YuHsuan-Hwang opened this issue Nov 15, 2024 · 0 comments
Labels
code maintenance For issues relating to code maintenance and quality

Comments

@YuHsuan-Hwang
Copy link
Collaborator

react-resize-detector v9 is producing warnings with React 18. The child function pattern <ReactResizeDetector/> is removed from react-resize-detector v10. Only the useResizeDetector hook is supported, which can only applied with functional components.
We could consider replacing react-resize-detector with blueprint <ResizeSensor/> + throttling.

@YuHsuan-Hwang YuHsuan-Hwang added the code maintenance For issues relating to code maintenance and quality label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code maintenance For issues relating to code maintenance and quality
Projects
None yet
Development

No branches or pull requests

1 participant