Hi there! I found a bug. If the states contain an element without a key and an element with a key, an error will occur and a component with a numeric property will be generated. my pr fixes this case
new class extends Component implements Livewire\Volt\Contracts\FunctionalComponent
{
public static CompileContext $__context;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
public $0;
public $count;
Hi there! I found a bug. If the states contain an element without a key and an element with a key, an error will occur and a component with a numeric property will be generated. my pr fixes this case
Example:
I'll get an error
syntax error, unexpected token "$", expecting variable
Generated component
public $0;