Skip to content

Conversation

@vjeux
Copy link
Contributor

@vjeux vjeux commented Mar 22, 2014

Here's the jsfiddle that I used to make sure it is correct: http://jsfiddle.net/vjeux/QeCB5/

@plievone
Copy link
Contributor

Note that at some point React.renderComponentToString behavior differed when DOM was available or not, so there was confusion due to jsfiddles and server experiments. :) Nowadays there are test cases for this: https://github.com/facebook/react/blob/f0eae50/src/browser/server/__tests__/ReactServerRendering-test.js#L150-L159

vjeux added a commit that referenced this pull request Mar 29, 2014
Add client/server mention in componentDid/WillMount documentation
@vjeux vjeux merged commit 70a8c55 into facebook:master Mar 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants