$livewire->getState() Not Working

Someone suggested that I use this to obtain the full state of the page. But any time I try to use it in a form I get an error. Is there something special I need to do to access the full state?
Was this page helpful?