Video yükleniyor...
Video Yüklenemedi
A little demo of a simple History component using Livewire and Verbs. Only storing a boolean "is_subscribed" in the database, but we have rich history of all the times they subbed/unsubbed. Paired with Josh Hanley 🇦🇺
22,196 görüntüleme • 2 yıl önce •via X (Twitter)
5 Yorum

Daniel Coulbourne 🦋2 yıl önce
We added a `HasHistory` trait that any State can use, which records a history message when an event implementing the `ExposesHistory` interface is applied:

Josh Cirre2 yıl önce
@_joshhanley Okay! I think I get it now. That’s awesome.

Michael Dyrynda2 yıl önce
@_joshhanley ❄️

Steve Bauman2 yıl önce
@_joshhanley Simple demo but really helped in understanding use-cases for this. Super cool!

Daniel Eckermann2 yıl önce
@calebporzio @_joshhanley Nice! Is it possible to get a link to the repository?

