In my component, I use an useEffect to do some initialization with side effect.
const title = useObservable(() => titles$);
useEffect(() => {
// do initialization with title
}, []);
title$ is a BehaviorSubject, so I would like the useEffect block can get the current title value directly, so that I don't need to wait another cycle for the initialization.