Anjanesh Lekshminarayananalpinejs.in·Aug 11, 2023Update State Variables AutomaticallyAlpineJS has a global state management system through its global variable named store. We can store a variable named total for a page loaded in the browser like this : document.addEventListener('alpine:init', () => { Alpine.store('global_data', ...847 readsevent listener