Hello everyone, Iam still running old version Hydrogen from 10.2024. I find it really hard to implement Vite, and Iam wondering if I could still run old Remix version, or it will eventualy stop working completly?
Today I tryied to push changes i made but I could not, got package.json and package.lock missmatch. Is upgrardint to Vite necessary ?
Thank you for any replies much appreciated !
Hi @Erik_Oberta ,
Yes, upgrading your Hydrogen project to use React Router and Vite is highly recommended for improved performance and product stability.
Tips for a smooth upgrade:
-
Run the command npx shopify hydrogen upgrade. During this process, select the closest Hydrogen version to your current setup; upgrade incrementally, one version at a time for safest results.
-
When you execute the upgrade command, a detailed upgrade guide will be auto-generated in your .hydrogen folder. Follow this guide for step-by-step instructions.
-
For code changes, consider leveraging AI coding assistants like Claude Code or Cursor—they can help apply updates efficiently.
-
After upgrading, test thoroughly to ensure your storefront remains stable and performant.
This process ensures your project stays supported and takes advantage of the latest ecosystem improvements.
Hi Paul ,
thank you for taking time to answer, I understand that updateting is recommended,
I just cannot comprehend that , they just force you to update, my hydrogen is only 1 year old, and i have many custom things implemented, which makes update really hard. And even existing repo and changes iam trying no make are not working.