Skip to content

wire:current

This Feature is Not Yet Supported

This feature is currently not supported by Magewire but may be added in the future. If you're up for the challenge, consider contributing to help bring this feature to Magewire, whether by implementing it fully or in smaller steps.

Every contribution helps!

Laravel Livewire Documentation Reference

Since Magewire is heavily inspired by Laravel Livewire, many concepts are either identical or very similar. To avoid duplicating documentation, this page only covers Magewire-specific and platform-specific details. For all general concepts and in-depth explanations, you can refer to the corresponding Laravel Livewire documentation.

Livewire Reference

The Magewire browser bundle contains the upstream directive, but Magewire does not currently promise Livewire's SPA-navigation lifecycle. Magento normally performs full-page navigation and has its own route, menu, and breadcrumb state, so wire:current is not part of Magewire's supported directive surface.

Render active classes and aria-current="page" from Magento route or navigation state instead. If a component changes an active item without navigation, use a component property with wire:show or an Alpine class binding.

Treat any apparent wire:current behavior in Magewire 3.5 as an implementation detail until navigation support is documented explicitly.