[charts][draft] Move interaction state in store
Deploy preview: https://deploy-preview-15154--material-ui-x.netlify.app/
Updated pages:
Generated by :no_entry_sign: dangerJS against 57c0d263e649dadd46f82b4da3b59f0720a13b6a
This pull request has conflicts, please resolve those before we can evaluate the pull request.
This pull request has conflicts, please resolve those before we can evaluate the pull request.
With the selectors, we can ask the tooltip to target only the index of the x-axis which drastically reduce the number of re-render
Same behavior before the modification, and after the PR
Seems like a considerable speed up, we should consider adding interaction tests to our benchmarks as well 🤔
Plan
If we agree on this strategy or a variant, The plan would be to at least remove all the exported context in alpha, such that we can move from contexts to store without breaking stuff. Only the hooks should be available
Do you have idea on how this would look like when we move further contexts into the store?
This pull request has conflicts, please resolve those before we can evaluate the pull request.
This pull request has conflicts, please resolve those before we can evaluate the pull request.