DEV Community

Discussion on: Toast Notifications with Alpine.js & Tailwind.css

Collapse
zaxwebs profile image
Zack Webster Author • Edited on

Thank you for your words, David.

About Spruce, I have it for this as I'd like the ability to invoke the toasts from anywhere. So, a global state management solution seemed like a good idea.

Collapse
kerns profile image
David Kerns

My understanding is this is a core part of Alpine 3. So maybe this and other examples you’ve made could see Spruce being phased out. πŸ€”β˜ΊοΈ

Thread Thread
zaxwebs profile image
Zack Webster Author

Alpine 3 came out about 3 months after this post.
But yeah, if I were to redo these now, I'd definitely go with core.