I would just update the API to Laravel 12, and keep the rest as is.
Migrating from Laravel 8 API + React to Laravel 12 with Inertia – Is It Worth It?
I recently rewrote my React project to use the latest version of React along with updated libraries. Instead of modifying the existing setup, I created a separate React project, worked on all the front-end improvements, and now have a fully functional SPA. My backend is still running on Laravel 8, and the application currently communicates via API calls, exchanging JSON data. While the Laravel project isn’t overly complex, I have put in a fair amount of work to get it running smoothly. Now, I’m considering upgrading to Laravel 12 and switching from a traditional API approach to Laravel + Inertia. However, I have zero experience with Inertia and am wondering:
- How smooth would the transition be, given that my front end is already an SPA?
- Would you recommend migrating to Inertia, or should I stick with my current API-based setup since everything is already working?
- Are there any significant performance, maintainability, or development speed benefits that justify the switch? I’d appreciate any insights, recommendations, or experiences from those who have made a similar transition. Thanks in advance!
Please or to participate in this conversation.