web analytics

How do you handle side effects in React?