React lazy image loading and TypeScript — No more slow and broken images
Published in
5 min readOct 16, 2020
Creating a better UX is not as simple as it looks. Every component on-page matters. While working on a complex piece of code, we almost forgot about the simplest thing, a broken image.
Here in this tutorial, I will explain how you can create a simple Image
component without breaking existing code. This component will support lazy loading and…