Commit Graph

134 Commits

Author SHA1 Message Date
Jeremy Kahn
1388eb8642 Fix grammatical error in reference-test-renderer.md 2017-11-01 15:51:47 -05:00
Brian Vaughn
91dbcc8eb8 Merge pull request #228 from dimitarnestorov/master
Switching to a more popular representation of optional arguments
2017-11-01 09:55:54 -07:00
Bernard Lin
f1ef9ffbeb Fixing typo (#229) 2017-11-01 11:03:50 +00:00
Dimitar Nestorov
0560d6be8b Switching to a more popular representation of optional arguments 2017-10-31 17:26:44 +02:00
Ferdy Budhidharma
f456a7a9b8 feat(react-dom-reference): update findDOMNode API (#202)
* feat(react-dom-reference): update findDOMNode API

* Fixed confusing wording on findDOMNode

* Reword and make more precise
2017-10-31 14:39:02 +00:00
Dan Abramov
2c7c414ce7 Suggest a smaller Function.name polyfill 2017-10-30 21:22:22 +00:00
Justin Hall
6e74bd8aa6 Add note about Function.name to error boundary doc 2017-10-30 11:11:48 -06:00
Brian Vaughn
d9d6d9536d Merge pull request #216 from knpwrs/ref-did-mount
Explicitly note that ref callbacks are called before componentDidMount.
2017-10-30 12:36:53 -04:00
Dan Abramov
f5ab0b4ba7 Fix Reconciliation link 2017-10-30 11:24:33 +00:00
Kenneth Powers
18097a25eb Note that ref callbacks can update during render and be called after mount. 2017-10-27 22:36:39 -04:00
Kenneth Powers
efe928284a Explicitly note that ref callbacks are called before componentDidMount. 2017-10-27 11:18:28 -04:00
Dan Abramov
ff8ef817e3 Make error boundary doc more in style with the post (#213)
* Make error boundary doc more in style with the post

* Update error-boundaries.md

* Update error-boundaries.md
2017-10-27 12:51:03 +01:00
Daniela Borges Matos de Carvalho
dfdddfd7cd Update test-utils to use refs correctly (#215)
* Update test-utils to use refs correctly

Update test-utils according to the new way of using refs: https://reactjs.org/docs/refs-and-the-dom.html

* Tweak
2017-10-27 12:40:58 +01:00
Brian Vaughn
9b02db39d1 Merge pull request #41 from hardfist/patch-1
Update implementation-notes.md
2017-10-25 15:37:34 -07:00
Brian Vaughn
4733648323 Merge pull request #203 from edimitchel/patch-1
Useless caveat about root element in a component
2017-10-25 15:26:36 -07:00
Brian Vaughn
5cc79c040e Merge pull request #206 from NCarteazy/patch-1
Link for "the key attribute" corrected
2017-10-25 14:41:43 -07:00
Dan Abramov
0629e3e228 Delete section about Haste (#208) 2017-10-25 21:24:53 +03:00
NCarteazy
8821563c3e Link for "the key attribute" corrected
The link redirected to the incorrect page, changed to point to 'key attribute' page.
2017-10-24 10:25:11 -07:00
Michel EDIGHOFFER
bcbf2a464c Useless caveat about root element in a component
With new version of React (v16), many root element are acceptable.
2017-10-24 17:22:47 +02:00
Dan Abramov
bea8fa0dd6 Expand on recommended hydrate() usage (#200)
* Expand on recommended hydrate() usage

* Nit

* Add extra info

* Update reference-react-dom.md
2017-10-23 18:54:31 +03:00
Brian Vaughn
5a9955bec8 Merge pull request #197 from learning/learning-npx-install-example
Add an example for creating a new application
2017-10-23 08:34:11 -07:00
Dan Abramov
24cf4575ed Tweak Lifecycle Docs (#199)
* Tweak Lifecycle Docs

* Nits
2017-10-23 18:34:05 +03:00
Learning
6c5f847f3a Add an example for creating a new application 2017-10-23 11:57:37 +08:00
Mark Pollmann
2739197161 Fix typo in Update.md 2017-10-22 22:46:38 +02:00
Flavio Li Volsi
ea98705300 Update top-level folders explanation (#191)
* Update top-level folders explanation

Following PR #11252 which had major changes regarding the top-level folders structure.

* Change more

* Update codebase-overview.md

* Update codebase-overview.md
2017-10-21 19:59:01 +01:00
Munish Goyal
e3cd73ac41 Update sentence to make it grammatically correct so as to void confusion (#188) 2017-10-20 14:02:38 +01:00
Brian Vaughn
e2945e4711 Merge pull request #183 from nnnoel/patch-1
Update higher-order-components.md
2017-10-19 17:07:59 -07:00
Brian Vaughn
2c59262a97 Wordsmithing 2017-10-19 16:57:19 -07:00
jj
e20baf8c1d Add section about the crossOriginLoading setting in webpack 2017-10-19 10:44:34 -07:00
Brian Vaughn
0d97dab4d3 Merge pull request #184 from sprzybylski/redirect
add docs/ redirect #180
2017-10-19 10:11:50 -07:00
Dominic Gannaway
058ada2ff5 Update how-to-contribute.md (#185)
Yarn version should ideally be 1.2.0+ due to workplace fixes/updates.
2017-10-19 14:29:10 +01:00
Szymon Przybylski
f06a375dc0 add docs/ redirect #180 2017-10-19 08:54:17 +02:00
Dan Abramov
1cb49baafd Update contributing instructions (#182) 2017-10-19 01:05:53 +01:00
Noel C
395636caa7 Update higher-order-components.md 2017-10-18 20:03:53 -04:00
Brian Vaughn
03c02e240d Merge pull request #175 from thomasyimgit/refactor-error-boundaries-doc
Add more details to the `Error boundaries` doc
2017-10-18 11:46:26 -07:00
thomasyimgit
9a97813e25 add uncovered scenarios of error boundaries, and add try/catch demo for event handlers 2017-10-18 14:30:14 -04:00
kevin moore
7aab61fffa Add etymological background to "props". (#177) 2017-10-18 18:11:02 +01:00
Brian Vaughn
8348250019 Merge pull request #49 from carloscuesta/docs-scu-deep-equality-json-stringify
Document deepEquality checks & JSON.stringify in shouldComponentUpdate are a bad idea
2017-10-18 08:58:14 -07:00
Brian Vaughn
07b015b687 Wording nit 2017-10-18 08:57:59 -07:00
Brian Vaughn
b785e8f7a5 Changed "and" to "or" 2017-10-18 08:56:40 -07:00
Dan Abramov
ce4c050f8d Tweak glossary (#176)
* Tweak glossay

* Update reference-glossary.md

* Update reference-glossary.md
2017-10-18 16:46:13 +01:00
Brian Vaughn
3bcc1f5f1a Merge pull request #172 from reactjs/gaearon-patch-1
Explain that our example doesn't work for most users
2017-10-17 13:29:47 -07:00
Brian Vaughn
aae4e67d51 Wording nit 2017-10-17 11:57:22 -07:00
Brian Vaughn
7267a399a0 Merge pull request #153 from mrscobbler/adding-glossary
Porting over glossary content from old repository
2017-10-17 11:53:42 -07:00
Sophia Shoemaker
8e9703d1e7 a few more changes 2017-10-17 11:50:24 -07:00
Dan Abramov
d154b4e67d Explain that our example doesn't work for most users 2017-10-17 18:55:32 +01:00
Sophia Shoemaker
2fce3fa04d updating text based on feedback from pull request 2017-10-17 09:42:29 -07: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