Can websockets be made to work in Dash?

My understanding is that Dash doesn’t support websockets. But if I take the react-websocket component and make it into a Dash component, will that work like I hope?

It’d take a while for me to figure out so I’m hoping someone else already knows