Description
In order to avoid infinite re-renders for model hooks that use anonymous objects or functions, we're stringifying the param to use as a dependency for useCallback. We should investigate to find or verify best practice for this functionality.
Motivation
- Follow best practices
- Be more Reacty
Implementation
Description
In order to avoid infinite re-renders for model hooks that use anonymous objects or functions, we're stringifying the param to use as a dependency for
useCallback. We should investigate to find or verify best practice for this functionality.Motivation
Implementation