FYI, I am *not* advocating for usage of #alpinejs for projects where scalability of a code bases is required. It's dangerous to use and it's unmaintainable, as raw tailwind is too.
If you need to write large, complex, maintainable, interconnected UIs, use #reactjs with #recoil.