Server side rendering with shared state.