Commit Graph

53 Commits

Author SHA1 Message Date
Paul O’Shannessy
3ffbb22ccb Merge pull request #2795 from chenglou/tips-lib
[Docs] Tip on integration with other libraries
2015-01-16 16:30:48 -08:00
Paul O’Shannessy
3ab3fabf5e Merge pull request #2760 from alextsg/patch-3
Update 14-communicate-between-components.md for grammatical changes
2015-01-16 16:30:48 -08:00
Paul O’Shannessy
b75c2aecfb Merge pull request #2759 from alextsg/patch-2
Update 05-maximum-number-of-jsx-root-nodes.md for capitalization
2015-01-16 16:30:47 -08:00
Paul O’Shannessy
e6e60c4fa8 update docs for 0.12.2 changes 2014-12-18 12:30:22 -08:00
Paul O’Shannessy
cf0a22578d Merge pull request #2443 from kruppel/kurt/minor-tip-typo
Fix typo in If/Else JSX doc.
2014-10-31 10:13:11 -07:00
Sebastian Markbage
1cb3f25e78 More Descriptor -> Element renames 2014-10-28 11:06:31 -07:00
Paul O’Shannessy
eb2827ec6a Update React.DOM -> React.createElement through docs 2014-10-28 11:06:30 -07:00
Ben Alpert
52494f9d72 Update docs to align with 0.12 better
- Rename React.renderComponent -> React.render
- Remove most references to transferPropsTo
2014-10-22 14:01:54 -07:00
Cheng Lou
1b3b432d64 [Docs] Remove most of @jsx
I kept some places intact (search for @jsx) because they require other bigger changes:

- ref-01-top-level-api.md
- grunt/tasks/npm.js
- old blog posts (don't change those)
- examples/ folder, as they have their own package.json that rely on old dependencies (node-jsx, reactify) that haven't upgraded to 0.12
2014-10-20 14:44:07 -04:00
Sunny Juneja
b9cf0d2bdd Add example to if else in JSX. 2014-08-20 12:29:21 -07:00
Dan Abramov
e625b8b234 Warn when using hyphenated style property names 2014-06-24 13:05:52 +04:00
Tom Haggie
cd3ba59cf1 Updated the ajax to tip to also mention that you need to check
that the component is still mounted before updating it's state.

Closes #1600.
2014-05-26 20:29:48 -07:00
Rajiv Tirumalareddy
b360ed80dd Fixed incorrect usage of github api in example
more: https://developer.github.com/v3/gists/#detailed-gist-representation
2014-05-06 16:42:07 -07:00
Daniel Gasienica
663dd6f5b3 Match setTimeout delay with documentation 2014-04-15 13:45:09 -07:00
Paul O’Shannessy
079749bac6 Merge pull request #1338 from chenglou/tip-children
[Docs][Tips] Entry on this.props.children and tweak component ref entry
2014-04-03 09:30:53 -07:00
Kunal Mehta
93a033a94f Remove erroneous line about static methods. 2014-04-01 13:36:56 -07:00
Kunal Mehta
d236a0538d Simplify comment. 2014-04-01 13:04:09 -07:00
Kunal Mehta
da27fb049a [docs] Amend "References to components" tip to mention descriptors. 2014-04-01 11:42:15 -07:00
Cheng Lou
dc7242c786 [Docs][Tips] Entry on this.props.children and tweak component ref entry
Component ref entry wasn't registered in nav_tips.
2014-03-31 19:13:16 -07:00
Ben Alpert
8c3ac3203d Merge pull request #940 from chenglou/tips-val
[docs] Document newly added unitless css props in tips
2014-02-13 22:40:51 -08:00
Cheng Lou
559933655a [Docs] Document newly added unitless css props in tips 2014-02-13 22:39:30 -08:00
petehunt
aebfd641aa more references 2014-02-03 23:33:20 -08:00
Kunal Mehta
43a242b67f Add documentation about React.renderComponent
Recently learned that components passed into `React.renderComponent` may not be the ones actually mounted. Also learned that it returns the mounted component. Added some documentation describing this.
2014-01-30 17:14:59 -08:00
Cheng Lou
e244df510d docs tips fix small typo and code 2014-01-01 15:28:44 -05:00
Cheng Lou
41526091a0 docs remove link to wiki page
Also some minor writing changes.
2013-12-30 23:38:01 -05:00
Cheng Lou
1671efb53a docs tips small refactorings 2013-12-30 17:54:41 -05:00
Christopher Chedeau
3b0f705658 Merge pull request #623 from chenglou/tips-communication
docs tips parent-child communication 2
2013-12-30 14:09:01 -08:00
Cheng Lou
23eac0bbbb docs tips expose component function 2013-12-30 17:07:24 -05:00
petehunt
47fe931549 Update parent/child communication tip 2013-12-30 13:22:10 -05:00
Cheng Lou
30672654c5 docs make all link start with /react/docs 2013-12-19 17:15:01 -05:00
Jared Forsyth
e539c8c6c4 one liner 2013-12-17 17:12:21 -07:00
Jared Forsyth
bf6951687d changes as requested 2013-12-17 17:10:02 -07:00
Jared Forsyth
b5cfc72870 adding note about initializing state w/ props 2013-12-17 16:16:50 -07:00
Jared Forsyth
043a986ba9 fixing capitalization 2013-12-10 11:59:29 -07:00
Jared Forsyth
7640e53102 rename this tip to be less confusing
Using props to initialize state is completely fine; the issue is using state as a "cache" for values calculated based off of props. This title makes it more clear.
2013-12-10 11:50:44 -07:00
Pete Hunt
22dc8fa765 Merge pull request #602 from chenglou/tips-bind
docs tips pass arguments to callbacks
2013-12-01 19:07:14 -08:00
Cheng Lou
e98244adb5 docs tips parent-child communication 2013-12-01 21:39:22 -05:00
Sundeep Malladi
b7ef221b27 Minor spelling correction in docs 2013-11-22 14:32:53 -06:00
Ben Alpert
d49d84b250 autoBind -> Autobinding
We don't use the term autoBind anywhere any more.
2013-11-20 11:42:05 -08:00
Levi McCallum
ceaf3fba32 Add explination of autoBind to DOM Event Listener tip 2013-11-20 11:29:05 -08:00
Paul O’Shannessy
c821887160 formatting and syntax on false in JSX tip 2013-11-13 17:43:17 -08:00
Paul O’Shannessy
4367dad669 Update wording on AJAX tip 2013-11-13 17:43:17 -08:00
Paul O’Shannessy
0ebd3d92ba Fix broken link, spacing on events tip 2013-11-13 17:43:17 -08:00
Paul O’Shannessy
80ab7bf4e1 s/Zuck/Rogers/ 2013-11-13 17:43:17 -08:00
Paul O’Shannessy
4a9ed4a204 Fix broken link on componentWillReceiveProps tip 2013-11-13 17:43:16 -08:00
Paul O’Shannessy
f6f3d4262b fix broken link on controlled input tip 2013-11-13 17:43:16 -08:00
Paul O’Shannessy
75383c5c99 Children props tip tweak 2013-11-13 17:43:16 -08:00
Paul O’Shannessy
49261c9392 Fix broken link, formatting on px style tip 2013-11-13 17:43:16 -08:00
Paul O’Shannessy
fe52e059b9 Tweak for self closing tag tip 2013-11-13 17:43:16 -08:00
Paul O’Shannessy
684e5922e8 Tweaks to if-else tip 2013-11-13 17:43:16 -08:00