realtime type racing with firebase