Good habits - service provider

Hello, with this component structure, is it still necessary to create a service, service provider, interface to perform an action?

Yes and No.

If you use standard locations for components and views - answer is No, you don’t.

And if you want to put components outside App\Http\Livewire or you making a package - answer is Yes you have to create a service provider in order to register Livewire components.

1 Like

Thanks for the answer!

Hey, @adrianosantos

Take a look at this thread:

Great, I’ll see!
Thanks!!

You are very welcome.