DEV Community

loading...

Discussion on: How to build bulletproof react components

Collapse
arhsim profile image
arhsim

Completely agree. In fact, in a function component the callback setup would also not help and the callbacks should be defined using a useCallback.