fix: avoid re-render when using sidebar or appbar#366
Merged
maartenbreddels merged 2 commits intomasterfrom Nov 3, 2023
Merged
fix: avoid re-render when using sidebar or appbar#366maartenbreddels merged 2 commits intomasterfrom
maartenbreddels merged 2 commits intomasterfrom
Conversation
This was referenced Nov 3, 2023
Contributor
Author
|
Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite. |
This was referenced Nov 3, 2023
f202a5e to
dcbec29
Compare
Before we had a 'fast path' which did not render the nav drawer and appbar when not used. This caused a different component tree to be rendered, which caused a re-render of the entire app. This also causes our parent div to always be the same, which will make the app behave more consistently (always 100vh parent). Fixes #331
otherwise screenshots will be different every time
dcbec29 to
0489c81
Compare
maartenbreddels
added a commit
that referenced
this pull request
Nov 16, 2023
Note that this fixes #366 which was a breaking change, which was not yet released. So this is not a breaking change.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Before we had a 'fast path' which did not render the nav drawer and
appbar when not used. This caused a different component tree to be
rendered, which caused a re-render of the entire app.
This also causes our parent div to always be the same, which will
make the app behave more consistently (always 100vh parent).
Fixes #331