TiliaJS is an open source functional library that manages your application state. It also has React integration, but it's not coupled to React. I've personally used it in the Bun runtime and the browser runtime.
Also it's written in ReScript, so it can be used with JavaScript, TypeScript, and ReScript.