Skip to content

Commit

Permalink
Update building-an-awesome-image-loading-experience.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds authored Feb 20, 2025
1 parent 0d82977 commit c7fb7bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ So I decided to add an `onload` prop 😱. Inline JavaScript in HTML is normally
not something you want to do, but in this case it's perfect. So this is what I
wanted to do:

```tsx lines=5
```tsx lines=4
// ...
const jsImgEl = React.cloneElement(img, {
ref: jsImgElRef,
Expand Down

0 comments on commit c7fb7bd

Please sign in to comment.