Apps similar to Vuex include Redux.js, which is free and open source. Other options are Jotai, Zustand, MobX and Recoil. In total there are five apps like Vuex for self-hosting.
Redux is a predictable state container for JavaScript apps that helps write apps with consistent behavior in different environments and that are easy to test. It provides a live-coding developer experience with a time traveling debugger.
A small, fast and scalable bearbones state-management solution using simplified flux principles. Has a comfy API based on hooks, isn't boilerplatey or opinionated.