product = Product::query()->where('id', $id)->first(); } /** * Get the view / contents that represent the component. * * @return \Illuminate\Contracts\View\View|\Closure|string */ public function render() { $product = $this->product; return view('fo.components.recipe-product-stoerer', compact('product')); } }