You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a component that has to switch between 4 images constantly, every time a property changes I import the specific image for it.
I noticed that the image always gets re-downloaded instead of being cached so I tried to use webpacks magic comments to prevent this from happening:
however, none of the magic comments work when importing the image. I'd like to be able to cache the images after they were requested for the first time
The text was updated successfully, but these errors were encountered:
I have a component that has to switch between 4 images constantly, every time a property changes I import the specific image for it.
I noticed that the image always gets re-downloaded instead of being cached so I tried to use webpacks magic comments to prevent this from happening:
however, none of the magic comments work when importing the image. I'd like to be able to cache the images after they were requested for the first time
The text was updated successfully, but these errors were encountered: