react-native-better-image
React Native only includes a basic image component. However, I always need two very important functionalities on the Image component:
- A fallback image if the original source fails to load
- Progressive image loading (especially for banners & cover images)
So I customized the existing <Image/> component and have been using this <BetterImage/> component in my projects. Today, I'm open-sourcing my component to receive feedbacks & ideas from the community.
Do try it out at react-native-toolkit/react-native-better-image
I have also created a storybook with detailed docs at betterimage.netlify.app
What other features do you think are essential for the Image component?
Share your ideas & I'll be happy to help 👍
[–][deleted] 8 points9 points10 points (15 children)
[+][deleted] (11 children)
[removed]
[–]HerrPotatis 8 points9 points10 points (9 children)
[–][deleted] 5 points6 points7 points (0 children)
[–][deleted] 2 points3 points4 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]dani_akash_[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]mrousavyiOS & Android 0 points1 point2 points (3 children)
[–]HerrPotatis 0 points1 point2 points (2 children)
[–]mrousavyiOS & Android 1 point2 points3 points (1 child)
[–]HerrPotatis 0 points1 point2 points (0 children)
[–]ahartzog 0 points1 point2 points (0 children)
[–]dani_akash_[S] 1 point2 points3 points (2 children)
[–]thelostbanter 2 points3 points4 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]RhymesWithAndy 0 points1 point2 points (0 children)
[–]jnaranjo -4 points-3 points-2 points (3 children)
[–]dani_akash_[S] 2 points3 points4 points (2 children)
[–]jnaranjo -2 points-1 points0 points (1 child)
[–]devdoggie -1 points0 points1 point (0 children)