Closed Luddinus closed 1 month ago
Thanks. If you want to propose anything please send in a PR so we can look at some actual code, thanks.
@driesvints I don't want to reopen the thread but what is the second parameter of the volt directive for? It's not in the documentation but looking at the source code it does send, I thought it was for something like this:
@volt('counter', ['count' => 1])
<div>{{ $count }}</div>
@endvolt
(undefined variable $count)
I would like to propose a feature enhancement that enables the use of multiple Laravel Volt components on a single page. This will allow developers to create more dynamic and interactive user interfaces by loading different components independently.
Consider a scenario where we have a page that displays the most recent posts and the most popular users. With this enhancement, we can load each component independently based on user interactions.
What do you think?