Commit Graph

32 Commits

Author SHA1 Message Date
Ben Alpert
b637cb3193 Updat docs for refs/findDOMNode 2015-10-06 17:53:38 -07:00
Jim
33cd980f0e React -> ReactDOM for render() and findDOMNode() 2015-10-05 17:46:58 -07:00
chico
f180f0ce37 make properties notation in docs consistent 2015-10-02 03:44:47 +03:00
Andreas Savvides
c56d0fd84f Make "Component Specs and Lifecycle" more readable 2015-09-14 18:43:16 +01:00
Tyler Brock
e031fddf67 Clarify invocation order of componentDidMount
OP is delivering on promise made here: https://discuss.reactjs.org/t/how-do-you-invoke-the-render-callback-in-jsx/1744
2015-08-19 10:04:34 -07:00
Basarat Ali Syed
01eb5643a2 📝 link to docs and not the blog post 2015-06-09 11:33:33 +10:00
Basarat Ali Syed
0ce79961c2 📝 document changes for classes
Taking https://github.com/facebook/react/pull/4013#discussion_r31829922 into account
2015-06-06 10:23:41 +10:00
Toru Kobayashi
5a6bdd6dc3 component.render method returns a ReactElement. 2015-04-05 15:33:19 +09:00
Rick Beerendonk
60d197eca3 Add documentation about JSX and displayName.
The section that described how JSX transform handles displayName was lost in commit 9b1ee4de4636fcc9af1cf93099e062a3f6eb96f5

Fixes #3338
2015-03-07 19:01:58 +01:00
Jim
7114950cd1 Updated docs examples/recommendations to use findDOMNode instead of getDOMNode 2015-03-05 16:42:43 -08:00
Jim
48eddd101e Update docs to indicate that componentDDidUpdate is fired after changes are flushed to the DOM. Fixes #2796 2015-01-02 14:02:44 -08:00
Mark Hintz
b61aace624 Update ref-03-component-specs.md
Edit the description of componentDidMount() to make clear that the function is called only once during the lifecycle of the component, after only the initial render() call. The description is now similar to that for componentWillMount(). The existing wording does not make it clear that the function is called only after the initial render. (Granted, it is possible to infer this from descriptions of the component lifecycle found elsewhere in the documentation, but I think explicit is better than implicit in this case).
2014-09-09 11:50:13 +02:00
Paul O’Shannessy
2865e4a1c8 Set default layout for docs 2014-08-13 11:40:14 -07:00
Ben Alpert
7fbdfcaada Fix comma splice 2014-07-15 22:34:33 -07:00
Paul O’Shannessy
b44d2ae79f Simplify shouldComponentUpdate example [skip ci] 2014-07-11 15:32:48 -07:00
Ben Alpert
712860e251 Fix up getDefaultProps docs 2014-07-11 14:26:42 -07:00
Ben Alpert
a3ddb16832 Clarify when getDefaultProps is called
Fixes #1778.
2014-07-02 14:06:48 -07:00
Cheng Lou
0e1afc738b [Docs] Render null returns noscript now
Following #1495.
2014-06-23 13:52:09 -07:00
Paul O’Shannessy
6f3bde9c85 Merge pull request #1384 from chenglou/render-docs
[Docs] Rendering null/false and getDOMNode
2014-04-14 10:15:14 -07:00
Cheng Lou
ff6cb41f09 [Docs] new PropType behavior
(Killed the TODOs since they're no longer valid).
2014-04-11 17:40:04 -07:00
Cheng Lou
3f257dea2f [Docs] Rendering null/false and getDOMNode. 2014-04-09 19:26:42 -07:00
Christopher Chedeau
7af0e4d3bc Add client/server mention in componentDid/WillMount documentation 2014-03-22 12:18:12 -07:00
Ben Alpert
7cbf8a6e76 [docs] Fix version in lifecycle argument note
Fixes #1163.
2014-02-23 16:49:27 -08:00
Ben Alpert
d70a0d1c90 Add simple docs on statics to reference section
Fixes #1056.
2014-02-14 11:54:58 -08:00
Nick Thompson
70f1593516 Clarify componentWillMount behavior 2014-01-17 12:44:21 -08:00
Michal Srb
f0cadaae86 Fix URL in displayName description 2014-01-08 14:55:27 +01:00
xixixao
4c7abcd424 Document displayName 2014-01-04 17:34:16 +01:00
Vjeux
87a53ea086 Making 'native DOM' nodes more explicit in documentation 2013-12-31 01:34:42 +01:00
Cheng Lou
0767e7b9dd docs make all link start with /react/docs 2013-12-19 17:15:01 -05:00
Cheng Lou
3d51380732 docs remove rootNode for componentDidMount/Update 2013-11-27 21:46:02 -05:00
Paul O’Shannessy
9b3c3b63e2 [docs] Clarify when getInitialState is called. 2013-11-01 15:29:10 -07:00
Ben Alpert
f566b56ed1 Flesh out reference documentation, more API info 2013-09-17 16:01:57 -07:00