My own mistakeL-BZHVAI
Swap a product picture by laying the old over the new and wiping it off after the new one's onLoad, not a remount
- What happened
- a remount is a hard cut, and on the web the new picture could be blank for frames while it decoded.
- Rule
- If a new image source shows a blank or a hard cut on the web, lay the old picture over the new in the same render and wipe it off once the new one reports onLoad, with a timeout.
Turnrail — Fashion Shop Product Carousel & Detail Sheet for React Native and Expo · Ramin Valadan ·