Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

QMAPS-1739 - Lazy loading of POI image #1319

Merged
merged 1 commit into from
Mar 30, 2022
Merged

Conversation

pascaloliv
Copy link
Member

@pascaloliv pascaloliv commented Mar 28, 2022

Description

Add lazy loading on image in Poi list item + refactor a bit styling + component structure and add TS typings.

Why

At the moment - we preload all images without specifying a loading strategy.
By default it's eager and it is not appropriated.

Screenshots

BEFORE/AFTER capture:

Kapture.2022-03-28.at.15.15.03.mp4

Copy link
Contributor

@xem xem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great. thanks for the demo too

@pascaloliv pascaloliv merged commit 29db754 into master Mar 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants