You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That dependency probably does not let props pass through. I plan to internalize all this legacy code someday because currently, it's a bit hard to deal with it.
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
I want to pass custom properties (namely fetchpriority=high to improve Largest Contentful Paint) to the Image of ideal-image, but this gets ignored.
The property is rendered in dev (with ideal-image config
disableInDev: true
), but not in the build.Reproducible demo
No response
Steps to reproduce
<Image img={require('../screenshot.png')} alt="My screenshot" fetchpriority="high" />
Expected behavior
The custom attributes should be rendered
Actual behavior
They aren't being rendered
Your environment
No response
Self-service
The text was updated successfully, but these errors were encountered: