A show case of synchronising server and client states with React