-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: detect unnecessary render and warn user (#468)
* feat: detect unnecessary render and warn user feat: capture json representations in an array to compare after for unnecessary rendering fix: get current testingLibrary for comparasion only react-native for now fix: save json representation instead of string for rendered component state and compare changes between states using dfs fix: test name fix: update comparasion function and save compare results into output.json and show comparation results in the end of the test fix: update interface and variable names based on pr recommendatations chore: rebase to v1 * refactor: improve output formatting * refactor: fix typo * refactor: remove unnecessary warning * refactor: improve testing * refactor: improve report criteria * refactor: improve naming * refactor: improve code structure & tests * refactor: tweaks * feat: improve markdown output * refactor: custom tree comparer * refactor: clean up code * refactor: update JSON structure * refactor: use "initial update count" naming * chore: fix lint * chore: improve tests * refactor: tweaks * docs: update * refactor: self code review * docs: tweaks * chore: add changeset * refactor: final tweaks --------- Co-authored-by: Guven Karanfil <[email protected]> Co-authored-by: Maciej Jastrzebski <[email protected]>
- Loading branch information
1 parent
f90ee3c
commit 04be1d4
Showing
19 changed files
with
516 additions
and
59 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'reassure': minor | ||
'@callstack/reassure-compare': minor | ||
'@callstack/reassure-measure': minor | ||
'@callstack/reassure-cli': minor | ||
--- | ||
|
||
Detect render issues (initial render updates, redundant renders) |
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
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
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.