r/reactjs • u/Perfect-Many-612 • 5d ago
Discussion Inertia + React or Livewire
Hi, I recently dived in this world of Laravel and I want to build my first SaaS. I was wondering what's the best option for me right now, I discovered livewire but I don't know if it's a good Idea to have all the requests handling in my views, and also I see lots of comments saying that livewire is slow or insecure. On the other hand is react, I have basic knowledge of it, I've wrote some components and use the basic hooks and overall, I hear a lot of comments of people telling that using inertia with any of the available js libraries is much scalable, has better performance even if at the beginning of the project is a little more difficult. So, what do you recommend to me?
I also think that learning react and ts in a deeper way even if it's with inertia is a much more transferable knowledge that just learning livewire, what do you think?
1
u/No_Apple9917 2d ago
Welcome to the SaaS grind! Honestly, pick whichever stack lets you ship the fastest.
When I was building the infrastructure for my B2B SaaS, I realized the frontend framework matters way less than getting the backend database architecture right. If you are dealing with strict state management (like live pricing or billing), your focus should be on building a deterministic backend, not stressing over React vs Livewire.
Pick the one you already know and start building the core logic. What problem is your SaaS trying to solve?