Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Svennnn's avatar

Understanding Livewire Overhead: Two components = two requests?

Hey,

I was experimenting with L12 / Livewire and Volt. I wanted to get going by creating a SixDigitInput, which could be used for PINs and stuff. The user enters a digit, and the UI focuses the next digits input.

I then want pass the resulting complete concatinated number, to my parents component to do stuff with it.

My code does work, but when I enter a digit to my nested component, I can see that 2 network requests are being made (one for my nested component, and one for my page component). Is that how it is supposed to be?

If so, if I have many nested reusable components, will I not essentially DDOS my own server? Do folks go around this by having just one level of livewire and basic blade-components for reusable stuff?

Just for reference, here is my code:

And used like this

        <livewire:inputs.six-digit-input wire:model.live="code" />

        XX{{ $this->code }}XX
1 like
1 reply
vincent15000's avatar

Each component is isolated from the others, so yes, if you have two components, you will have two requests.

Please or to participate in this conversation.