Unnecessary rerendering in filter example #4562
Unanswered
mikebridge
asked this question in
General
Replies: 2 comments
-
Actually, I think all those onChange={e => setValue(e.target.value)} and onChange={value => setGlobalFilter(String(value))} |
Beta Was this translation helpful? Give feedback.
0 replies
-
@tannerlinsley Would it be possible to fix these? The examples still cause Chrome to crash |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It doesn't seem worth creating an issue for this. But I saw that this onChange handler in the filter example was giving me some unnecessary rerendering. In fact, it seemed to rerender infinitely:
I think it should be this:
Beta Was this translation helpful? Give feedback.
All reactions