SPA mode for standalone projects.
Hello again.
After having installed the Filament table builder in a new project with Livewire and Laravel Breeze; I have the following error, and that is that when loading the page after logging in, the component works fine, but when I navigate to
/profile
and then back to /dashboard
(where the table is located) and that's when the errors occur. By default, Laravel Breeze uses <livewire:navigation>
to navigate between pages as a SPA.
I know Filament uses Livewire v3, but in some support topics on Stackoverflow they point out that the problem is *Dom Diffing. *
The error: Uncaught Could not find Livewire component in DOM tree
Then Alpine register another.
Alpine Expression Error: undefined
Expression: "selectFormComponent({
canSelectPlaceholder: true,
isHtmlAllowed: false,
getOptionLabelUsing: async () => {
return await ...
and much more from this error.
Some context in this post
https://stackoverflow.com/questions/72335516/cannot-find-parent-element-in-dom-tree-containing-attribute-wireid
Any solution? π¦Stack Overflow
Cannot find parent element in DOM tree containing attribute: [wire:id]
I am laravel developer and developing a real time chat room using liveware , i am trying to open chat when i click to user but unfortunatly i am getting error https://flareapp.io/share/OmVDe437#F47
1 Reply
My Table Builder class:
https://gist.github.com/utciepcdgo/3d38b50d358209c23e90c972f167cdf6