Commit Graph

63 Commits

Author SHA1 Message Date
Fatos Morina
ddd8cca1cb Add missing comma 2017-10-14 19:06:19 +02:00
Brian Vaughn
38ec8ddc90 Merge pull request #127 from jamesvclements/jsx-in-depth-multiple-elements
adds returning multiple elements example to jsx-in-depth guide
2017-10-10 15:09:45 -07:00
James Clements
f81cf014f5 change wording to reflect array 2017-10-10 17:06:12 -05:00
James Clements
5f2cadf865 any elements 2017-10-10 16:49:46 -05:00
James Clements
558ae3176a adds returning multiple elements example to jsx-in-depth guide 2017-10-10 16:45:26 -05:00
Brian Vaughn
c6076da008 Merge pull request #118 from renatoselenica/children-only-documentation
Improved the documentation for React.Children.only
2017-10-10 14:44:00 -07:00
renatoselenica
ea6d90ef32 Changed the documentation for React.Children.only to make its implementation simpler to understand.
Fixes #87
2017-10-10 21:08:58 +02:00
Dan Abramov
0daa24f569 Backticks 2017-10-10 18:57:21 +01:00
Brian Vaughn
877da53e3a Merge pull request #106 from annuhdo/update-doc-mockComponent
Update site's doc mockComponent()
2017-10-10 10:48:19 -07:00
Anna Do
b6e2f24421 Added recommendation to use shallow rendering or jest.mock() 2017-10-10 13:42:07 -04:00
Brian Vaughn
7060923c4a Merge pull request #110 from ishankbahl/recommend-PureComponent-instead-of-shallowCompare
Recommmended PureComponent instead of shallowCompare
2017-10-10 10:38:53 -07:00
ishank
702fddd0f8 after merging correctly 2017-10-10 23:03:04 +05:30
ishank
14c7494eab changed wording slightly 2017-10-10 22:52:10 +05:30
Brian Vaughn
7c72cde684 Merge pull request #117 from soul-wish/brandnames-fixes
Fix some brand names in the docs
2017-10-10 10:18:04 -07:00
ishank
a3445b3ce6 changed wording 2017-10-10 22:28:51 +05:30
Brian Vaughn
a66e63b575 Merge pull request #107 from TAGraves/tg-clarify-find-docs
Clarifies the behavior of test renderer's find methods
2017-10-10 09:34:49 -07:00
Brian Vaughn
18000f1b37 Wording nit: s/the only/a single/ 2017-10-10 09:34:28 -07:00
Brian Vaughn
3b74f67bfd Merge pull request #105 from hozefaj/topic/fix-pure-comp-links
fix links to pure component within docs
2017-10-10 09:26:39 -07:00
Dan Abramov
db1262d06f Tweak the event doc 2017-10-10 16:42:48 +01:00
Rodrigo Rosenfeld Rosas
ad8cb6ea70 Improve writing style in Reconciliation Tradeoffs (#119)
I've improved my previous changes to what re-render means by following Dan Abramov's
suggestion on the writing style to remove the parenthesis from that paragraph.

See issue #108 for more context.
2017-10-10 16:36:29 +01:00
Brian Vaughn
e9a67af470 Merge pull request #81 from sw-yx/documentArgsIssue75
added documentation for passing arguments to event handlers
2017-10-10 08:33:24 -07:00
Brian Vaughn
7f8d084a2c Wordsmithing 2017-10-10 08:33:00 -07:00
Brian Vaughn
3dfc414701 Nit 2017-10-10 08:32:29 -07:00
Brian Vaughn
57779b2fb3 Merge pull request #108 from rosenfeld/patch-1
Improves the documentation on Reconciliation
2017-10-10 08:20:09 -07:00
Brian Vaughn
348a727e8c Added parens 2017-10-10 08:19:29 -07:00
Sergey Lysenko
bcd06d058e Fix some brand names in the docs 2017-10-10 15:37:05 +02:00
Fredrick Mgbeoma
a201113535 Added ellipsis to indicate incomplete code snippet (#115)
* Added ellipsis to indicate incomplete code snippet

Ellipsis indicate that the code snippet shown is part of a larger code sample.

* Add missing indentation
2017-10-10 12:51:41 +01:00
Dan Abramov
16b5b8f510 Tweak instructions 2017-10-10 11:54:43 +01:00
ishank
bad3d8853c Recommmended PureComponent instead of shallowCompare 2017-10-10 13:35:27 +05:30
sw-yx
037fdf82d0 modified handling-events page 2017-10-09 22:11:11 -04:00
Rodrigo Rosenfeld Rosas
b373eeccbd Improves the documentation on Reconciliation 2017-10-09 21:08:05 -03:00
Tommy Graves
192fca8a43 Clarifies the behavior of test renderer's find methods 2017-10-09 19:35:38 -04:00
Anna Do
592c3838b8 Noted that a similar pattern can be implemented directly 2017-10-09 19:17:57 -04:00
hozefaj
43c1c00703 fix links to pure component within docs 2017-10-09 16:11:18 -07:00
Anna Do
2255e1efed Added a note that mockComponent is legacy and unnecessary 2017-10-09 19:11:04 -04:00
Brian Vaughn
580706b460 Merge pull request #55 from xjlim/style-props-value-px
add shorthand for specifying pixel values in style props to docs
2017-10-09 14:27:38 -07:00
Brian Vaughn
f3aea25776 Wording nits 2017-10-09 14:27:13 -07:00
sw-yx
6dad6d2b7a added documentation for passing arguments to event handlers 2017-10-08 22:46:07 -04:00
Brian Vaughn
695e7905df Merge pull request #89 from dance2die/issue70
Add minimum required Node version to create-react-app docs #70
2017-10-08 19:01:01 -07:00
Sung
ca0679478d Add minimum required Node version to create-react-app docs #70 2017-10-08 19:26:07 -04:00
Joe Lim
b333f92d76 fix minor formatting issue 2017-10-08 13:49:23 -07:00
Joe Lim
b0db2aad22 include notes on unitless props 2017-10-08 13:47:05 -07:00
Brian Vaughn
d5ebad1d2a Wordsmithing nit 2017-10-08 13:32:35 -07:00
Andy Edwards
e97ad4f5d4 Caution (in docs) against dispatching redux actions or triggering component updates by any other means in componentWillUpdate 2017-10-08 15:28:18 -05:00
Daniel Bird
37c9963889 Load CodePen script once 2017-10-07 22:49:34 -04:00
Joe Lim
3292248ff0 add shorthand for specifying pixel values in style props to docs 2017-10-07 09:28:28 -07:00
Brian Vaughn
fd4eda82c4 Merge pull request #31 from Krizzu/docs/Error-Boundaries
Docs for Error Boundaries
2017-10-07 08:18:53 -07:00
Brian Vaughn
5a084dd028 Wording nits 2017-10-07 08:06:06 -07:00
Fanny Vieira
66572d8a98 modifying to docs / forms page, adding route in redirect file, correcting grammatical errors 2017-10-07 08:34:39 -03:00
Fanny Vieira
6611aef53e Merge remote-tracking branch 'upstream/master' into issue-16-null-input 2017-10-07 08:17:07 -03:00