x
x copied to clipboard
feat: REFACTOR - change image on hover
The proposed refactor consists on extracting the logic of the hover and the loading of the images, so we end up with three components.
If the base-result-image-hover is used, then it will provide the loaded images to the base-result-image.
The base-result-image component will load the injected images, or the ones in the result if no images are injected.
The base-result-image-loader will be present in the two components, but in the case of the base-result-image, it will be used only if the images are not injected.