Idiomatic SSR and hydration of a React app