I was wondering what would be the best place to run an observeChanges function like the one shown in the attached image:
Where do I place it, componentDidMount(), componentWillReceiveProps()? What’s the best practice around this?
Thanks in advance,