livewire-status-board icon indicating copy to clipboard operation
livewire-status-board copied to clipboard

Layout component?

Open dambridge opened this issue 3 years ago • 0 comments

Great package. My question is around using my layout components and sharing data.

In my case, for most of my pages I use Livewire's layoutData() when rendering the component's view, a la:

return view('livewire.pages.my-page')
->layoutData([
  'section' => $this->section
]);

I know the package bypasses Livewire's native render. Aside from being able to publish the views themselves, is there a way I'm missing to override the render so I can push additional data?

Thanks for any help!

dambridge avatar Oct 14 '21 23:10 dambridge