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