Commit Graph

84 Commits

Author SHA1 Message Date
Dan Abramov
d154b4e67d Explain that our example doesn't work for most users 2017-10-17 18:55:32 +01:00
Yuhei Yasuda
52bed2c3fb fix missing extends for custom elements 2017-10-18 00:21:46 +09:00
Brian Vaughn
0197b16d9f Merge pull request #163 from charlottetan/fix/caveat-to-warning
Updating "caveat" to "warning"
2017-10-16 09:13:27 -07:00
Brian Vaughn
e46945401e Merge pull request #160 from fatosmorina/fix_typos
Fix  a few typos and add a few suggestions
2017-10-16 09:12:40 -07:00
Fatos Morina
64d4936034 Remove quotes for "Create React App" 2017-10-16 08:34:30 +02:00
Fatos Morina
8238816c9a Update webpack link, remove spaces
Update webpack link, remove spaces, unhighlight `Create React App`
2017-10-16 08:16:26 +02:00
Charlotte Tan
7238d4244e Updating "caveat" to "warning"
Updating "caveat" to "warning" as suggested in #155
2017-10-15 22:31:56 -07:00
Fatos Morina
a30f52f9a1 Highlight Create React App and hyperlink Babel and webpack 2017-10-14 19:28:04 +02:00
Fatos Morina
d70e89e2fb Use colon 2017-10-14 19:15:11 +02:00
Fatos Morina
ddd8cca1cb Add missing comma 2017-10-14 19:06:19 +02:00
Brian Vaughn
2f04c4fdda Merge pull request #121 from hellobrian/patch-1
[Documentation] Re-add "Transferring with ... in JSX" to "JSX In-Depth / Spread Attributes"
2017-10-13 09:23:39 -07:00
Brian Han
39ef13f48d edit for grammar 2017-10-12 19:47:23 -05:00
Brian Han
8ccb0c4265 Rewrite spread attrs section based on feedback 2017-10-12 13:51:37 -05:00
Brian Vaughn
0ab68410b9 Merge pull request #144 from jppgks/patch-1
fix: add internationalization part in link to Jest tutorial
2017-10-12 09:03:17 -07:00
Aaron Franks
628cd29586 Fix some minor API errors in SSR docs (#143) 2017-10-12 14:33:33 +01:00
Joppe Geluykens
174d7890ed fix: add language part in link to Jest tutorial
Link to Jest tutorial led to 404 since it didn't include the `/en/` language part.
2017-10-12 10:43:50 +02:00
thomasyimgit
98386b633a add componentDidCatch document and link 2017-10-11 16:33:35 -04:00
Brian Vaughn
28833595a9 Merge pull request #129 from fatosmorina/hyperlink_dry
Hyperlink DRY
2017-10-11 08:42:05 -07:00
Fatos Morina
728b6f89d8 Hyperlink DRY 2017-10-11 09:51:04 +02:00
Sasha Aickin
67dfc2d3f7 Small tweaks to the ReactDOMServer doc. 2017-10-10 19:32:17 -07: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
Brian Han
4c5f48c9e5 fix: re-add spread attrs docs and update example 2017-10-10 13:59:40 -05: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
Brian Han
02686259b5 docs/update-jsx-in-depth/spread-attrs
re-add Transferring with ... in JSX docs previously published with React v15-ish
2017-10-10 12:02:44 -05: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