If this is still maintained, I have some good idea to share and maybe to implement
I have a react component that display an image of a flag, whenever I change the language, the flag change, and a new image get downloaded. This result in an image download and UI is not handling it properly.
This solution will preload all the resource images and store it to state:
Hi and thanks for the module,
If this is still maintained, I have some good idea to share and maybe to implement
I have a react component that display an image of a flag, whenever I change the language, the flag change, and a new image get downloaded. This result in an image download and UI is not handling it properly.
This solution will preload all the resource images and store it to state:
This is actually not possible using src props, ` will render the following: