erikras / erikras/react-redux-universal-hot-example

Server-side rendering: render was discarded

Open
#915 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.1k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

In production run:

``` bash
NODE_ENV=production npm run build
NODE_ENV=production node dist/server.js
```

![image](https://cloud.githubusercontent.com/assets/5620073/12947900/b382d0a0-d00f-11e5-89f6-8b37aa0f67a0.png)

![image](https://cloud.githubusercontent.com/assets/5620073/12947924/eac74834-d00f-11e5-8097-8ca4e4737006.png)

On server-side react generates: `data-reactid=".k7qx4qn7k0.0.$=10"`
On client: data-reactid`".k7qx4qn7k0.0.$/=10"`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.