“Coming soon to Rails”, first post: “Native image lazy-loading for all images”. Interesting? Should I continue the series?

Hey all, I recently decided to try write a few articles on new features of Rails that are yet to land in a release (ie 'coming soon'). I love seeing whats coming and then diving a little deeper on each subject to understand the 'why' behind the changes.

My first post is: [Coming soon to Rails: Easily add the lazy-loading attribute to all your images](https://www.ierodiaconou.com/blog/rails-native-image-lazy-loading/?utm_source=reddit&utm_medium=post&utm_campaign=feedback) written last month.

I talk about the change that landed in [this PR](https://github.com/rails/rails/pull/38452) and go a little deeper to understand if and when to use it (eg how `loading` attribute might impact layout shift (CLS) and time to interactive (TTI)).

What do you think? Is the post interesting? Should I consider writing more?

Keep safe and thanks for any feedback!

1 thought on ““Coming soon to Rails”, first post: “Native image lazy-loading for all images”. Interesting? Should I continue the series?”

Leave a Comment