Alpine.js allows you to create convenient stores that make state management easier. In this series, we're going to start off with the problems we'll face without using global state and then we'll look at how Alpine stores can seriously clear things up. Along the way, we'll look at some practical examples and also usage of JavaScript getters
00:19
to create really convenient ways of accessing our data, along with some useful tips. This is pretty much everything you need to know about stores in Alpine. Let's get started in the next episode by looking at why we need global state in the first place.
5 episodes• 29 mins•3 years ago
Overview
Forget dispatching events to keep your state together. In Alpine, stores give you a central location for data that make state management a breeze. In this series, we'll cover everything you need to know to get started with Alpine stores!