I would like a single hook that exposes both global and local state. Something akin to:
const home = () => {
const [count] = useObservable(0)
const [globalCount] = useObservable('global-count', 0)
}The issue is that if someone only wants to read a global variable, it might look like the following: