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

dpower's avatar

Pass Query String Parameter to Nested Livewire Component

I need to pass a query string parameter to a livewire component that's nested inside a non-livewire blade / controller.

I'm using a Jetstream scaffolding so it's not straightforward to simply convert the parent to livewire.

Is there a way to pass query string parameters down to the livewire child component without causing myself too much grief?

Thanks.

0 likes
2 replies
dpower's avatar

@webrobert Who'd have thunk it would be as easy as that!?

I didn't realize request() was available at the component level.

Thanks for the nudge!

1 like

Please or to participate in this conversation.