2
1
Fork 0

overview: update lazy loading section to reference new LazyLoader

This commit is contained in:
outfoxxed 2024-03-19 05:40:40 -07:00
parent b130193160
commit 2974ebeef8
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
2 changed files with 7 additions and 10 deletions

View file

@ -798,12 +798,9 @@ it will not be updated further by the binding.
Often not all of your interface needs to load immediately. By default the QML Often not all of your interface needs to load immediately. By default the QML
engine initializes every object in the scene before showing anything onscreen. engine initializes every object in the scene before showing anything onscreen.
For parts of the interface you don't need to load immediately, you should For parts of the interface you don't need to be immediately visible, load them
load them lazily to make your interface load faster. asynchronously using a [LazyLoader](/docs/types/quickshell/lazyloader).
See its documentation for more information.
The [Loader](https://doc.qt.io/qt-6/qml-qtquick-loader.html) type can help with
this, by loading in external files or creating components at runtime. Check its
documentation for more information.
#### Components #### Components

View file

@ -22,11 +22,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1710416907, "lastModified": 1710851744,
"narHash": "sha256-prul6TG6uCKedEq3X4MGErzjWTRRAWsTDnCuCgQtDNY=", "narHash": "sha256-chglsLRxjBDgnI53NNdiPdFbKxOy/NF75uDTurApao0=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "41803ee2355d081f446c335339060e4f060949cf", "rev": "518977932d2d774b26ee339c13c8dc60ac7c0b66",
"revCount": 117, "revCount": 121,
"type": "git", "type": "git",
"url": "https://git.outfoxxed.me/outfoxxed/quickshell" "url": "https://git.outfoxxed.me/outfoxxed/quickshell"
}, },