kinyaying
400a2c6c1c
Update typechecking-with-proptypes.md
...
change the words
2017-11-05 19:10:48 +08:00
kinyaying
bf28861146
Update typechecking-with-proptypes.md
...
add 'javascript' after ```
2017-11-03 22:06:28 +08:00
kinyaying
bd04b6f8ab
Update typechecking-with-proptypes.md
...
1、Declare the defaultProps alone. And it is obeying AirBNB's styleguide.
2、Someone is confused about is it OK to put propTypes and defaultProps as static props inside React class. And we can explain about this question.
2017-11-03 19:05:20 +08:00
Brian Vaughn
a468658e0b
Merge pull request #224 from reactjs/gaearon-patch-5
...
Suggest a smaller Function.name polyfill
2017-10-30 17:29:54 -04:00
Dan Abramov
2c7c414ce7
Suggest a smaller Function.name polyfill
2017-10-30 21:22:22 +00:00
Brian Vaughn
bed5fda226
Merge pull request #223 from wKovacs64/wKovacs64-patch-1
...
Add note about Function.name to error boundary doc
2017-10-30 17:14:51 -04: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
40de6b302e
Merge pull request #214 from reactjs/gatsby-plugin-error-codes-fix
...
Make gatsby-source-react-error-codes plugin fail harder
2017-10-26 14:07:12 -07:00
Brian Vaughn
867022ab16
Make gatsby-source-react-error-codes plugin fail harder
2017-10-26 12:32:01 -07: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
4cfbb1ea53
Merge pull request #210 from xjlim/add-gatsby-plugin-catch-links
...
add plugin to intercept markdown links
2017-10-25 15:21:39 -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
Brian Vaughn
b68dacd801
Merge pull request #204 from ilyagelman/patch-1
...
Add ReactNext 2018
2017-10-25 14:40:08 -07:00
Joe Lim
4235274d10
add plugin to intercept markdown links
2017-10-25 14:00:34 -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
Ilya Gelman
c5a32cb03f
Add ReactNext 2018
2017-10-24 12:12:30 -04: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
Brian Vaughn
b30cdf6344
Merge pull request #198 from philipp-spiess/patch-1
...
Fix style inconsistency
2017-10-23 08:27:00 -07:00
Philipp Spieß
f7ecd81a71
Fix style inconsistency
...
I discovered this inconsistency that caused the parentheses to appear/disappear when you toggle the "JSX" button. It also seems like we don't use parentheses for arrow functions with one argument, so this PR makes this behavior consistent.
2017-10-23 11:42:48 +02:00
Learning
6c5f847f3a
Add an example for creating a new application
2017-10-23 11:57:37 +08:00
Brian Vaughn
d0c0aed4c7
Merge pull request #195 from MarkPollmann/patch-1
...
Fix typo in Update.md
2017-10-22 13:56:33 -07:00
Mark Pollmann
2739197161
Fix typo in Update.md
2017-10-22 22:46:38 +02:00
Brian Vaughn
27a3b98fb5
Merge pull request #194 from emmafallancy/fix-blog-slug-html-creation
...
Fix the blog slug html creation that leads to improper redirect
2017-10-22 13:46:36 -07:00
Brian Vaughn
331fd30e59
Added semicolon to fix Prettier
2017-10-22 13:45:07 -07:00
Brian Vaughn
e21f2ae943
Added inline comment.
2017-10-22 13:43:49 -07:00
Emmanuel Fallancy
4f5c110246
Fix the blog redirect
2017-10-23 07:40:45 +11:00
Emmanuel Fallancy
1a98da7d98
Fix the blog slug html creation that leads to improper redirect
2017-10-22 23:24:11 +11:00
Emmanuel Fallancy
c3b24ff0e5
Fix the broken link in the blog for 2014-10-6 react v0.12-rc1 ( #193 )
2017-10-22 12:27:59 +01:00
Brian Vaughn
f11badf8a6
Updated Prettier tasks to cover gatsby-* JS files in root
2017-10-21 13:04:33 -07: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
Brian Vaughn
1284ce230a
Updated Conferences page to move some to 'past' section
2017-10-20 09:19:37 -07:00
Brian Vaughn
1730ef3aa1
Merge pull request #190 from dwightjack/patch-1
...
Added ReactJS DAY 2018 edition
2017-10-20 09:17:13 -07:00
Brian Vaughn
d5f98ca1ed
Merge pull request #156 from tricinel/feature/flow-types
...
Switch to flow types; wip related to #24
2017-10-20 09:15:24 -07:00
tricinel
ab5815b11a
Add Todo notes and better flow types
2017-10-20 18:07:44 +02:00
Marco Solazzi
ecdb0844cc
Added ReactJS DAY 2018 edition
2017-10-20 17:12:44 +02: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
d370d007f4
Merge pull request #186 from SadPandaBear/master
...
Disable Search Box if CDN is down (#9 )
2017-10-19 17:03:25 -07:00
Brian Vaughn
2c680876c6
Merge pull request #187 from jjjjw/webpack_crossorigin
...
Add section about the crossOriginLoading setting in webpack
2017-10-19 16:58:26 -07:00