Skip to content

Comments

Migrate Livewire request hook and fix component class resolution#47

Merged
PhiloNL merged 6 commits intowire-elements:2.xfrom
LaurinStapf:main
Feb 10, 2026
Merged

Migrate Livewire request hook and fix component class resolution#47
PhiloNL merged 6 commits intowire-elements:2.xfrom
LaurinStapf:main

Conversation

@LaurinStapf
Copy link
Contributor

Changes

  • Replace deprecated Livewire.hook('request') with Livewire.interceptRequest
  • Send X-Wire-Extender header with a non-empty value to avoid potential
    stripping by proxies/load balancers that ignore empty custom headers.
  • Fix component class resolution by avoiding $this usage in static context

@LaurinStapf
Copy link
Contributor Author

LaurinStapf commented Feb 10, 2026

@PhiloNL could you take a look at this and merge it? Currently, v2 is not working due to the issue that has been fixed with the third point. Thanks! 🙏

@PhiloNL PhiloNL merged commit 4707b02 into wire-elements:2.x Feb 10, 2026
@PhiloNL
Copy link
Contributor

PhiloNL commented Feb 10, 2026

Merged 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants