feat(TreeView): Fixing onSelectedItemChange
This is a WIP for fixing onSelectedItemChange from getting called too many times.
The issue with the proposed solution here is that it gets called the first time selectedItems changes, and the way we update items is in batches, so this doesn't work as expected, needs more tweaking.
The unit tests should pass.
🦋 Changeset detected
Latest commit: 479b48536d8c58baf6d6eb362e5ee64b2868f3e6
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
🚀 Deployed on https://docs-preview-1226--upbeat-sinoussi-f675aa.netlify.app
🚀 Deployed on https://storybook-preview-1226--upbeat-sinoussi-f675aa.netlify.app
🚀 Deployed on https://docs-preview-1226--upbeat-sinoussi-f675aa.netlify.app
🚀 Deployed on https://storybook-preview-1226--upbeat-sinoussi-f675aa.netlify.app
🚀 Deployed on https://docs-preview-1226--upbeat-sinoussi-f675aa.netlify.app
🚀 Deployed on https://storybook-preview-1226--upbeat-sinoussi-f675aa.netlify.app
🚀 Deployed on https://docs-preview-1226--upbeat-sinoussi-f675aa.netlify.app
🚀 Deployed on https://storybook-preview-1226--upbeat-sinoussi-f675aa.netlify.app