mobx claims to "automatically detect rendering of observables".
On the other hand, React useEffect claims "By using this Hook, you tell React that your component needs to do something after render".
So what is the difference? When do I use mobx and when do I use React useEffect?