loadBranches(); // Load branches initially } public function loadBranches() { $this->branches = collect(json_decode(file_get_contents(storage_path('app/branches.json')), true)); } public function render() { return view('livewire.station-locator.branch', [ 'branches' => $this->branches, // Pass all branches to the table ]); } }