Lazy loading images has been a common practice on the web for ages. It improves page speed and avoids loading assets which might never be shown to the user. However, I couldn’t find any good and performant solution for React that satisfied all my needs, so I wrote my own.
Some time ago I published a quite popular article called 8 CSS selectors DO’s and DON’Ts, I recommend you to check it out before reading this second part.
If you save 5 seconds on a task that you repeat at least 12 times per day, that means that you save one minute per day, after three months that’s almost an hour. If you can do the same with 9 other tasks, at the end of the year you will have saved 40 hours,… Continue reading 9 tips that made me speed up my workflow as a front-end developer
This is the first part of a two-parts article. You can find the second one here: “8 CSS selectors DO’s and DON’Ts (part 2)”.