Is assets lazy? #1750
Answered
by
ethanshar
MuhammedKpln
asked this question in
Q&A
Is assets lazy?
#1750
-
When loading assets with loadAssetsGroup, is it lazy? |
Beta Was this translation helpful? Give feedback.
Answered by
ethanshar
Jan 22, 2022
Replies: 1 comment
-
In order to have the assets lazy loaded I suggest loading the assets as an object of getters, like this
This way each assets will be loaded only once they've been actually used. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ethanshar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In order to have the assets lazy loaded I suggest loading the assets as an object of getters, like this
This way each assets will be loaded only once they've been actually used.