Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Do not depend only on konnector.slug for useEffect dependencies
Used React.memo and use-deep-compare-effect for hooks to not have infinite rerenders. But the real cause for these rerenders comes from the home application which generates a new konnector object on each rerender.
- Loading branch information
1 parent
8ce5e78
commit 65869cf
Showing
5 changed files
with
427 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.