usernotnull / tall-toasts

A Toast notification library for the Laravel TALL stack. You can push notifications from the backend or frontend to render customizable toasts with almost zero footprint on the published CSS/JS 🔥🚀
MIT License
537 stars 32 forks source link

Toast Push #539

Closed IsaacHatilima closed 1 month ago

IsaacHatilima commented 1 month ago

Discussed in https://github.com/usernotnull/tall-toasts/discussions/538

Originally posted by **IsaacHatilima** May 23, 2024 How do the code below work? ``` toast() ->success('You earned a cookie! 🍪') ->push(); ``` My expectation is that when the code reaches there is toast shows but only works with page reload. And if it requires page reload then the Livewire in the title is overkill.