rappasoft/laravel-livewire-tables

[Feature Request]: Any plans to upgrade to Livewire 3?

javis opened this issue · 3 comments

Overview

I would like to upgrade to Livewire 3, but this package is holding me back.

Are you planning to upgrade it to Livewire 3? Or should I think on replacing it with a custom component?

Thanks!

Detailed explanation

No response

Notes

No response

Version 3 of this package supports Livewire 3. You will need to remove previously published views for this page (as they've all changed)

Version 3 of this package supports Livewire 3. You will need to remove previously published views for this page (as they've all changed)

I noticed there isn't an upgrade guide of any kind. Is there a plan for that? (even if it just says to delete previously published views?). I've been waiting to upgrade because I tried once and couldn't get things working.

Upgrade guide docs explaining changes, common problems etc will come hopefully after this weekend. Just need to merge in the PR.

Key items when upgrading are:

  • Choice of bundling/auto-inject/blade directives for adding the assets to your layout file/bundle process. I'd recommend bundling typically

  • Remove published views from v2 (recommendation not to publish remains)

  • Clear your view cache

That typically allows for a smooth upgrade, as there aren't breaking changes in a typical approach, most of the changes are adding features or tweaking behaviour without impacting on the methods used in the end-user components.