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

Cannot make Mingle Livewire Components Lazy #25

Open
andruu opened this issue Aug 25, 2024 · 1 comment
Open

Cannot make Mingle Livewire Components Lazy #25

andruu opened this issue Aug 25, 2024 · 1 comment

Comments

@andruu
Copy link

andruu commented Aug 25, 2024

CleanShot 2024-08-25 at 10 48 53@2x

Getting these errors when trying to make a mingle component lazy.

<livewire:component-name :lazy="true"/>
@mrfelipemartins
Copy link

I encountered this issue before, but since I didn't have much time to spend on it I realized that making my component lazy wasn’t necessary. Since Mingle boots the React component, I could “lazy load” the data by simply calling the desired method from React using props.wire.method();

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