x icon indicating copy to clipboard operation
x copied to clipboard

feat: REFACTOR - change image on hover

Open ajperezbau opened this issue 3 years ago • 0 comments

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.

ajperezbau avatar Nov 24 '22 11:11 ajperezbau