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

Next JS <Image> fetchPriority issue #26

Closed
luukee opened this issue Jun 7, 2024 · 1 comment
Closed

Next JS <Image> fetchPriority issue #26

luukee opened this issue Jun 7, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@luukee
Copy link
Contributor

luukee commented Jun 7, 2024

Error:
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.

Seems to be not fixed ref: facebook/react#25927

@nab0000 @risha-van Do you see this issue while developing?

Screenshot 2024-06-07 at 6 44 44 AM

If I comment out the Headbar.jsx elements the issue goes away.

Your thoughts?

@luukee luukee added the bug Something isn't working label Jun 7, 2024
@luukee luukee self-assigned this Jun 7, 2024
@luukee
Copy link
Contributor Author

luukee commented Jun 7, 2024

Fixed it by downgrading react & react-dom to v 18.2.0.

@risha-van @nab0000 - You will need to pull from the main branch, then run these commands:

rm -rf .next node_modules yarn.lock
yarn cache clean
yarn install
yarn build
yarn dev

... also I fixed the sw.js GET issue when running yarn dev

Let me know of any questions you have. Thank you :)

@luukee luukee closed this as completed Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant