Are thre any livewire or alpine hooks that is fired after the the DOM swap has happened.

I have created a custom component that lets users create categories on the product page. An to organize the categores according to parent and chiled I am using JS. But When the form state change it loses its style applied for reorganization. How can I tackle it,
No description
3 Replies
LeandroFerreira
LeandroFerreira3mo ago
maybe wire:ignore in your component? https://livewire.laravel.com/docs/wire-ignore
Laravel
wire:ignore | Laravel
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
toeknee
toeknee3mo ago
You could just use the native select with a createForm on it too....
rahat392
rahat392OP3mo ago
thankyou very much for your answers.. I will try it soon
Want results from more Discord servers?
Add your server