Digging Into Laravel Breeze's Livewire Stack: Volt's Functional API [Part 4/5]
HTML-код
- Опубликовано: 13 сен 2024
- This is the "Volt's Functional API" segment from my "Digging Into Laravel Breeze's Livewire Stack" livestream. Watch the full livestream here: • Livestream: Digging In... .
----------------------------------------------------------------------------------------------------
- Twitter: / enunomaduro
- Threads: www.threads.ne...
- Mastodon: mastodon.socia...
- LinkedIn: / nunomaduro
- RUclips: / nunomaduro
- GitHub: github.com/nun...
- Bluesky: bsky.app/profi...
with Volt is it possible to mix and match Volt's usage?
for example, I only want to use state, layout, rules helper method of Volt inside the SFC, and then for the methods/functions which typically goes to controllers, I want them to put in the controllers or livewire actions.
is that possible?
personally, I don't want to make my SFCs bloated as much as controllers/actions.
oon functional api, is it possible to have it written in a format "function logout(){.......}" , will be better i think