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
Consider simplifying the checkbox onChange handler.
The current implementation creates a new function for each checkbox, which might impact performance for large lists. Consider lifting this function out of the map callback for better performance.
Consider simplifying the checkbox onChange handler.
The current implementation creates a new function for each checkbox, which might impact performance for large lists. Consider lifting this function out of the map callback for better performance.
Here's a suggested improvement:
This change will create only one function per render cycle instead of one per checkbox, potentially improving performance.
Originally posted by @coderabbitai[bot] in #46 (comment)
The text was updated successfully, but these errors were encountered: