Repository navigation
Admin: Open large lists faster - #705
Merged
Merged
Conversation
- Create inlined forms and clipboard copies once, so items don't render again with each render of their list
…g them as slots - Forwarded slots made every component on their way render again with each render of the list - Sections and list and object items provide their layout through `schemaLayoutKey`, which the schema below them renders in its main pane
- Descendant `:has()` selectors made the browser check every input again whenever elements were added, three times slower on a list of 900 rows - Add `dito-affixes--hover` and `dito-draggable--chosen` instead
- They have no route, so the claims don't need to ask them
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.
In a section with 300 inlined list items with 3 nested items each, rendering all rows went from 27 s to 2 s (measured with the rows rendered over several frames), and 1.5 s when they render at once. 30 items open in 160–210 ms.
:has(), which made the browser restyle every input whenever rows were addedProgressive rendering of the rows (#686) is left out: errors and routes inside items that haven't rendered yet find no component, see #686.