-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Describe/explain the bug
GridLines & Axis components are rerendering every time the tooltip is rendered. This only happens with line 0.69.0 or later as the memoization was removed in the Typescript conversion:
GridLines: 73f9803#diff-38c896d16b0cfcea875ed07eb4f5dcef2e385be26c535bf48e943e7ce91604c2L77
Axis: 73f9803#diff-2005c198987521875392c5d373d9f345238d806c1b41e98312e202369c453fa3L191
To Reproduce
Steps to reproduce the behavior:
- Go to https://codesandbox.io/s/charming-butterfly-4i46p
- In the preview, click on "Open in new window"
- Open React developer tools
- Turn on "Highlight when components render"
- GridLines and Axis components are highlighted on mouse over
Expected behavior
GridLines & Axis components should not rerender on mouse over
Desktop (please complete the following information):
- OS: Windows
- Browser: Firefox
- Version: 88.0.1
Additional context
The issue isn't shown by the CSB iframe preview's dev tools, the preview must be in a new window so the browser dev tools can be used.
Metadata
Metadata
Assignees
Labels
No labels