You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using "react-range" version "1.10.0"
When I use renderMark prop to draw custom marks on my range, I got infinite rerendering of value component.
Example:
I've tried add console log to parent component. It is not rerendering. Only component inside renderMark.
I also tried wrapped rendered component to useCallback function, or to other component with using memo - does not help.
Any ideas?
The text was updated successfully, but these errors were encountered:
I'm using "react-range" version "1.10.0"
When I use renderMark prop to draw custom marks on my range, I got infinite rerendering of value component.
Example:
I've tried add console log to parent component. It is not rerendering. Only component inside renderMark.
I also tried wrapped rendered component to useCallback function, or to other component with using memo - does not help.
Any ideas?
The text was updated successfully, but these errors were encountered: