Skip to content

fix: downgrade React & ReactDOM to 18.2.0 for Next.js compatibility#161

Merged
lolpanda2004 merged 1 commit intololpanda2004:mainfrom
mahimakathpal:fix/react-version-compatibility
Aug 26, 2025
Merged

fix: downgrade React & ReactDOM to 18.2.0 for Next.js compatibility#161
lolpanda2004 merged 1 commit intololpanda2004:mainfrom
mahimakathpal:fix/react-version-compatibility

Conversation

@mahimakathpal
Copy link
Contributor

Related Issue: #159

📌 Summary

This PR fixes the compatibility issue with Next.js caused by React 19. The project was previously using React 19.x, which is not yet fully supported by Next.js.

🔧 Changes Made

Downgraded React to 18.2.0

Downgraded ReactDOM to 18.2.0

Updated package-lock.json accordingly

✅ Benefits

Resolves errors when running the frontend locally

Ensures smooth development setup for contributors

🖼️ Screenshot
Screenshot (2086)
Screenshot of terminal showing the project running successfully after fix

Browser Screenshot
Screenshot (2087)

@vercel
Copy link

vercel bot commented Aug 24, 2025

@mahimakathpal is attempting to deploy a commit to the LolPanda2004's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

@mahimakathpal
Copy link
Contributor Author

Hi @lolpanda2004 team 👋,

The PR is ready to merge. The only pending step is Vercel deployment authorization. Could someone from the team please authorize it so the Vercel check passes?

Thanks! 🙏

@vercel
Copy link

vercel bot commented Aug 26, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
amour-editorial-website Ready Ready Preview Comment Aug 26, 2025 1:23am

@lolpanda2004 lolpanda2004 merged commit a4f4e5a into lolpanda2004:main Aug 26, 2025
3 checks passed
@lolpanda2004
Copy link
Owner

@mahimakathpal done!

@lolpanda2004 lolpanda2004 added gssoc25 GirlScript Code of Summer 2025 bug Something isn't working level-2 Medium level of issue labels Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working gssoc25 GirlScript Code of Summer 2025 level-2 Medium level of issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants