eddieace's avatar

Livewire 3: Uncaught (in promise) Component not found: {some_id} Open discussion

One common problem that occurs is these issues with "Component not found". I understand the root cause, which is that it needs a key to keep track of. Still, in many cases, at least for me, it's someone else who built something somewhere in the codebase, and the only way I have to figure out where is to comment out components until I find the one that is missing a key

How do you deal with this?

What is the best way to debug this?

Uncaught (in promise) Component not found: {some_id}

0 likes
1 reply
DoubleClickDesignLtd's avatar

@eddieace can you post the Livewire and blade code please. I think it will be something simple for example the wire:key has to be on the root element DIRECTLY inside the foreach loop.

Please or to participate in this conversation.