Finite State Machines in Vue 3 - Sarah Dayan

There are many ways to represent state in modern web applications. In Vue, you can use local state, encapsulated within components, or global state, using a state management library like Vuex. It usually works the same way: you represent it with properties that you can change, and you use these properties to determine view logic. State changes are imperative most of the time: you set up event listeners to update reactive properties, and condition them with if statements. As the application grows, this quic
Back to Top