Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fetchPriority name for React #476

Open
2 of 3 tasks
timothymiller opened this issue Jun 2, 2024 · 1 comment
Open
2 of 3 tasks

Fix fetchPriority name for React #476

timothymiller opened this issue Jun 2, 2024 · 1 comment

Comments

@timothymiller
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Do you want this issue prioritized?

  • Yes, I have sponsored
  • Not urgent

Current Behavior

This warning message is logged to the console when starting a next.js application:

Warning: React does not recognize the `fetchPriority` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `fetchpriority` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
    at img
    at className (webpack://next-app/src/client/image-component.tsx?51e1:212:5)
    at RouterContext (webpack://next-app/src/client/image-component.tsx?51e1:372:5)
    at SolitoImage (webpack://next-app/src/image/expo/image.web.tsx?feeb:19:5)

Expected Behavior

No warning message

Steps To Reproduce

No response

Versions

- Solito: 4.2.2
- Next.js: 14.2.3
- Expo: 51.0.9
- React Native: 0.74.1

Screenshots

No response

Reproduction

No response

@nandorojo
Copy link
Owner

open to a PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants