Why not go to Laravel 12 while you are at it?
Api with livewire 🤔
Laravel 9.x Livewire 2.10
Need help.
Basically, we (interns) were assigned to migrate an existing web app written in vanilla php to laravel. One of the team lead scaffold a laravel application with livewire installed and have us separated into frontend and backend to work in this fresh codebase. My concern is it feels wrong (as one of the backend devs) to develop api endpoints for a fullstack library like livewire. I mean like, what's the point? How should frontend devs consume our api endpoints, do they have to write Request::create() or use Http client in livewire component classes to accomplish this? I welcome any ideas on how we should proceed with this, we're kinda lost at this moment.
Please or to participate in this conversation.