Reduce memory pressure in heavy threads #85
Annotations
3 warnings
|
lint:
src/features/messages/components/Messages.tsx#L443
The 'renderItem' function makes the dependencies of useMemo Hook (at line 624) change on every render. Move it inside the useMemo callback. Alternatively, wrap the definition of 'renderItem' in its own useCallback() Hook
|
|
lint:
src/features/messages/components/Messages.tsx#L419
The 'planFollowupNode' conditional could make the dependencies of useMemo Hook (at line 624) change on every render. Move it inside the useMemo callback. Alternatively, wrap the initialization of 'planFollowupNode' in its own useMemo() Hook
|
|
lint:
src/features/messages/components/Messages.tsx#L349
The 'userInputNode' conditional could make the dependencies of useMemo Hook (at line 624) change on every render. Move it inside the useMemo callback. Alternatively, wrap the initialization of 'userInputNode' in its own useMemo() Hook
|