Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

QMAPS-2503 - Fix missing dependencies in useEffect + refactor callback/memo #1276

Merged
merged 1 commit into from
Feb 21, 2022

Conversation

pascaloliv
Copy link
Member

@pascaloliv pascaloliv commented Feb 17, 2022

Description

This PR fix the missing part of useEffect + refactor the necessary functions that need to be wrapped in useCallback and useMemo to avoid recomputation.

Why

This PR is mostly motivated by all the warnings in Files changed panel on every previous PR.

Screenshots

Before:
warnings

@pascaloliv pascaloliv merged commit ddd8e17 into master Feb 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants