Skip to content

Conversation

@wcandillon
Copy link
Contributor

@wcandillon wcandillon commented Aug 4, 2025

@wcandillon wcandillon changed the title Improve performance/logic for onSize fix(📏): substancial improvements on getting canvas sizes Aug 5, 2025
@wcandillon wcandillon merged commit 5cf121c into Shopify:main Aug 5, 2025
10 of 12 checks passed
@github-actions
Copy link
Contributor

github-actions bot commented Aug 5, 2025

🎉 This PR is included in version 2.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@DorianMazur
Copy link

@wcandillon Do you have any insight into what was happening here? We’re seeing the same issue with other libraries as well, and the workaround of just using useLayoutEffect feels more like a hack than a proper fix. Do you know what the underlying issue might be?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

2 participants