Skip to content

Fix React DOM warnings for blurWidth/blurHeight image props#17875

Merged
wackerow merged 3 commits into
devfrom
fix/blur-props-dom-warning
Apr 1, 2026
Merged

Fix React DOM warnings for blurWidth/blurHeight image props#17875
wackerow merged 3 commits into
devfrom
fix/blur-props-dom-warning

Conversation

@pettinarip
Copy link
Copy Markdown
Member

Summary

  • Strip blurWidth/blurHeight from getImageProps() rest props before spreading onto <img> elements — these are internal Next.js blur placeholder dimensions, not valid HTML attributes (vercel/next.js#56511)
  • Add images.qualities config to next.config.js for Next.js 16 compatibility

Test plan

  • Verified warnings no longer appear in browser console on /en
  • Verified no blurwidth/blurheight attributes on DOM <img> elements
  • ESLint passes on all changed files

@github-actions github-actions Bot added the config ⚙️ Changes to configuration files label Mar 27, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 27, 2026

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 0849f1f
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/69ca7d021edbb10008a6d94b
😎 Deploy Preview https://deploy-preview-17875.ethereum.it
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 53 (🔴 down 2 from production)
Accessibility: 94 (no change from production)
Best Practices: 100 (no change from production)
SEO: 98 (🔴 down 1 from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread next.config.js Outdated
Co-authored-by: wackerow <54227730+wackerow@users.noreply.github.com>
@wackerow wackerow merged commit 9be0a27 into dev Apr 1, 2026
8 checks passed
@wackerow wackerow deleted the fix/blur-props-dom-warning branch April 1, 2026 16:15
@pettinarip pettinarip mentioned this pull request Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config ⚙️ Changes to configuration files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants