Results 10 comments of lead.q

You should read carefully. I wrote it for Legend's type. Then, I explained different type which has dataKey? property, but legend has not Legend's payload is extending the following type:...

when declaring Prop's properties, using "interface" instead of "type" keyword breaks the rule. I also experienced the same issue

Similar question from me, When mouse hovering on the chart, activeDot is rendered while mouse not exactly hovering the "dot". I want "activeDots" should be rendered while mouse hovers over...

I debugged the source code and saw that activeDot is handled by chart and calculate index of *active* xAxis tick (think like column but I dont know how yet). Probably...

@florianheller I dont understand what that property do. In documentation, it only says this ``` allowDuplicatedCategory: Boolean Allow the axis has duplicated categorys or not when the type of axis...

Is there any solution without updating mantine ? Like just updating the floating ui thing only somehow ? Because we are using the old version of mantine in our huge...

> In React, when you update the state using `useState`, React doesn't immediately update the state and re-render the component. Instead, it schedules the state update and re-rendering to occur...

> @leadq maybe you can see this thread that sophiebits answer your question. > > https://github.com/facebook/react/issues/14810 I've checked the thread. But, no one explained the extra rerender at the end...

> @leadq As far as I know, React can’t guess the output of render() won’t change, even if you update state has the same value, it has to render() again...