How would you handle WebSockets for real-time data, RxJS observables, or complex race conditions in the UI?