Skip to content
Discussion options

You must be logged in to vote

It may seem like a performance enhancement to eliminate one component, but it’s really not.
QPageContainer is needed because of all the following combined:

  1. Performance - most UIs have multiple pages so the padding computations would be done each time the user navigates to a new page. The extra component cost is negligible with Vue 3 anyways.
  2. Ability to correctly display page change transitions (with the Vue native transition> component) without the need of “hacks”. Won’t get into detail here because this would deserve a thread of its own by how complex it is.
  3. Ease of styling on QPage. Adding a custom padding on QPage would break the inner computed one. Devland padding would need to take …

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rstoenescu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants