Replies: 1 comment
-
|
Hi @jarosik10 There's no need to It's when you actually use that asset index, such as by providing it to a component, e.g. So tldr - |
Beta Was this translation helpful? Give feedback.
-
|
Hi @jarosik10 There's no need to It's when you actually use that asset index, such as by providing it to a component, e.g. So tldr - |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Does Metro’s require have an equivalent of require.cache?
For example, if I have an array of images in a React Native component:
So whenever the component rerenders, does the app load the images form the disk every time, or does it load them from the cache?
I’m wondering if a long list of requires should be wrapped in
useMemo.Beta Was this translation helpful? Give feedback.
All reactions