Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support hot reload in layout x-slot blocks? #132

Open
gsxdsm opened this issue May 22, 2024 · 3 comments
Open

Support hot reload in layout x-slot blocks? #132

gsxdsm opened this issue May 22, 2024 · 3 comments

Comments

@gsxdsm
Copy link

gsxdsm commented May 22, 2024

When I have a livewire full page component and I reference named slots, changes to the contents of the slot don't get hot reloaded properly.

@fabio-ivona
Copy link
Member

Hi, could you set up a simple project in order to recreate your issue?

@gsxdsm
Copy link
Author

gsxdsm commented May 22, 2024

Here's an example project:
https://github.com/gsxdsm/livewire-vite-test

See: https://github.com/gsxdsm/livewire-vite-test/blob/main/resources/views/livewire/test.blade.php

When the main contents are updated, the hot reload works correctly. However when the header slot is updated, it does not hot reload (I guess because that's technically not a livewire component?)

@fabio-ivona
Copy link
Member

yep, I think it is due to the fact that it is not a Livewire component

we'll investigate on that

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

No branches or pull requests

2 participants