Skip to content

Conversation

inxilpro
Copy link
Contributor

@inxilpro inxilpro commented Nov 7, 2021

This is a rebased version of #39478 that I'm resubmitting after a conversation with @calebporzio. If this gets merged, either he or I can add a version_compare check to Livewire that would only register the existing Livewire directive for Laravel v8.69.0 and lower (or whatever release is one below the version this ended up in).

@calebporzio
Copy link
Contributor

I approve this message

@lupinitylabs
Copy link
Contributor

I approve this message

I have just noticed that in a project using Laravel 9.7.0 and Livewire 2.10.5 the Livewire @js directive seems to take precedence over the framework implementation.

Following this PR, which states that Livewire should not register its directive on Laravel 8.71.0+, it seems like this is not the intended behavior?

@calebporzio Can you confirm this?

@lupinitylabs
Copy link
Contributor

I opened a discussion at livewire/livewire#4875 with more details as this seems to be an issue of Livewire rather than Laravel.

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.

4 participants