Rex is a Redux-like state management library that is reactive and immutable out of the box. It's just a tiny wrapper lib on top of RxJS and immer.
To create a new store you call the createStore
function with a reducer and its initial state.
There is no need to supply a default case in your reducer, and the reducer shouldn't return anything.