Client caught up in infinite loop #261

I'm not sure if this is wanted - I'm not at all familiar with react, but it solves #261 for me.