Closed shanpriyan closed 1 year ago
listener
useEffect
Before:
listener fired 12 times on a single click of a button in storybook.
12
After:
listener fired 3 times on a single click of a button in storybook.
3
listener
function inuseEffect
.Before:
listener
fired12
times on a single click of a button in storybook.After:
listener
fired3
times on a single click of a button in storybook.