79377134

Date: 2025-01-22 09:28:05
Score: 0.5
Natty:
Report link

From docs you supposed to do it like so:

class ShowPosts extends Component
{
    public function render()
    {
        return view('livewire.show-posts', [
            'posts' => Post::all(),
        ]);
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tymur Valiiev