Skip to content

Conversation

@plouc
Copy link
Owner

@plouc plouc commented May 13, 2025

react-virtualized-auto-sizer seems pretty robust, and it's not too heavy, currently, some users even use non responsive charts wrapped with it, so...

I'm also introducing new properties for Responsive* components:

  • defaultWidth and defaultHeight for responsive charts, which can be useful for SSR.
  • debounceResize to avoid needlessly recomputing charts when resizing.
  • onResize to be able to potentially adjust some properties depending on the dimensions of the chart.

Fixes:

Also fixes #2755.

@vercel
Copy link

vercel bot commented May 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nivo ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2025 3:09pm
nivo-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2025 3:09pm

@plouc plouc self-assigned this May 13, 2025
@plouc plouc marked this pull request as ready for review May 16, 2025 15:04
@plouc plouc merged commit a76407b into master May 16, 2025
6 checks passed
@plouc plouc deleted the auto-sizer branch May 16, 2025 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants