Commit Graph

42 Commits

Author SHA1 Message Date
Tom Haggie
599ea5e51e 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
ec19430f9a 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
75264470dd Match setTimeout delay with documentation 2014-04-15 13:45:09 -07:00
Paul O’Shannessy
a002f3717a 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
21e0ca5b8e Remove erroneous line about static methods. 2014-04-01 13:36:56 -07:00
Kunal Mehta
80947848f2 Simplify comment. 2014-04-01 13:04:09 -07:00
Kunal Mehta
22a7de6aee [docs] Amend "References to components" tip to mention descriptors. 2014-04-01 11:42:15 -07:00
Cheng Lou
5bc8b15d63 [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
297212a370 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
797fffca05 [Docs] Document newly added unitless css props in tips 2014-02-13 22:39:30 -08:00
petehunt
eaf234a53b more references 2014-02-03 23:33:20 -08:00
Kunal Mehta
2ab43c462e 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
2fd497d2c5 docs tips fix small typo and code 2014-01-01 15:28:44 -05:00
Cheng Lou
7a794ae3cf docs remove link to wiki page
Also some minor writing changes.
2013-12-30 23:38:01 -05:00
Cheng Lou
4002a86e22 docs tips small refactorings 2013-12-30 17:54:41 -05:00
Christopher Chedeau
392fd82be8 Merge pull request #623 from chenglou/tips-communication
docs tips parent-child communication 2
2013-12-30 14:09:01 -08:00
Cheng Lou
f228f65f01 docs tips expose component function 2013-12-30 17:07:24 -05:00
petehunt
bd86c53822 Update parent/child communication tip 2013-12-30 13:22:10 -05:00
Cheng Lou
0767e7b9dd docs make all link start with /react/docs 2013-12-19 17:15:01 -05:00
Jared Forsyth
ba50af55f7 one liner 2013-12-17 17:12:21 -07:00
Jared Forsyth
49ac69b05c changes as requested 2013-12-17 17:10:02 -07:00
Jared Forsyth
cee420b12d adding note about initializing state w/ props 2013-12-17 16:16:50 -07:00
Jared Forsyth
f3d5c90855 fixing capitalization 2013-12-10 11:59:29 -07:00
Jared Forsyth
256e0bf6df 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
ca5afaf62a Merge pull request #602 from chenglou/tips-bind
docs tips pass arguments to callbacks
2013-12-01 19:07:14 -08:00
Cheng Lou
dc4fcd52b3 docs tips parent-child communication 2013-12-01 21:39:22 -05:00
Sundeep Malladi
aef97f1d76 Minor spelling correction in docs 2013-11-22 14:32:53 -06:00
Ben Alpert
0f5fd4e076 autoBind -> Autobinding
We don't use the term autoBind anywhere any more.
2013-11-20 11:42:05 -08:00
Levi McCallum
4af4e04bb1 Add explination of autoBind to DOM Event Listener tip 2013-11-20 11:29:05 -08:00
Paul O’Shannessy
67c99a9c51 formatting and syntax on false in JSX tip 2013-11-13 17:43:17 -08:00
Paul O’Shannessy
59575acb4a Update wording on AJAX tip 2013-11-13 17:43:17 -08:00
Paul O’Shannessy
5c8c2b6f7b Fix broken link, spacing on events tip 2013-11-13 17:43:17 -08:00
Paul O’Shannessy
f95424a08a s/Zuck/Rogers/ 2013-11-13 17:43:17 -08:00
Paul O’Shannessy
55b5cfe075 Fix broken link on componentWillReceiveProps tip 2013-11-13 17:43:16 -08:00
Paul O’Shannessy
679397f60e fix broken link on controlled input tip 2013-11-13 17:43:16 -08:00
Paul O’Shannessy
710f54b605 Children props tip tweak 2013-11-13 17:43:16 -08:00
Paul O’Shannessy
c98bb39b26 Fix broken link, formatting on px style tip 2013-11-13 17:43:16 -08:00
Paul O’Shannessy
efb8d5c6d5 Tweak for self closing tag tip 2013-11-13 17:43:16 -08:00
Paul O’Shannessy
9bde5abedc Tweaks to if-else tip 2013-11-13 17:43:16 -08:00
Paul O’Shannessy
47d5b9c302 Small cleanup to style tips 2013-11-13 17:43:16 -08:00
Paul O’Shannessy
7f9c7c1f80 Small cleanup to tips intro 2013-11-12 13:22:55 -08:00
Connor McSheffrey
b8c7f3cdfd Renamed Cookbook references to tips. Reworded intro (sounded weird because it still referenced cookbooks. Updated some entry ID's (some side nav links didn't match entry permalinks) 2013-11-11 21:00:53 -08:00