Bevan Wentzel
93432416ae
Fixed typo in conferences ( #768 )
2018-04-05 14:21:23 +01:00
Brian Vaughn
c4bf6b087a
Merge pull request #764 from bvaughn/react-lifecycles-compat-v2
...
Updated react-lifecycles-compat example to show 2.0 named export
2018-04-04 19:58:01 -07:00
Dan Abramov
f7cf140607
Tweak context docs ( #766 )
2018-04-04 15:21:16 +01:00
Dan Abramov
b6c0a51a58
React 16.3.1 ( #765 )
2018-04-04 01:51:36 +01:00
Brian Vaughn
ec718a33ee
Updated react-lifecycles-compat example to show 2.0 named export
2018-04-03 10:33:37 -07:00
Alex Krolick
17efddc63d
Merge pull request #756 from raunofreiberg/createref-docs
...
Add createRef to top level API section
2018-04-03 10:16:54 -07:00
Alex Krolick
861544b16c
Move createRef above forwardRef
2018-04-03 10:16:19 -07:00
Alex Krolick
1dccf07a89
~the~
...
fixes #763
2018-04-03 10:13:42 -07:00
Dan Abramov
cf7329d6bd
Tweak wording
2018-04-03 17:00:53 +01:00
rk162
1f21aaabb2
Update introducing-jsx.md ( #761 )
2018-04-03 15:00:29 +01:00
Rauno
3709c8e4ef
Add link to refs-and-the-dom in description
2018-04-03 01:32:51 +03:00
Rauno
9948cc94e3
Add createRef to top level API section
2018-04-02 22:20:22 +03:00
Rauno Freiberg
3d50f0deb6
Add contributing guidelines reference to readme ( #753 )
...
* Add contributing guidelines reference to readme
* Tweak
2018-04-02 18:53:29 +01:00
Brian Vaughn
4a2a8541cb
Merge pull request #738 from koba04/forward-ref-examples
...
React.forwardRef accepts a render function, not Functional Component
2018-04-02 10:43:58 -07:00
Toru Kobayashi
0ea7d99127
Revert "Adopt bvaughn's example"
...
This reverts commit 2e1554dc32 .
2018-04-03 02:36:43 +09:00
chucksellick
dbe5b49bbf
Fix a very small typo ( #754 )
...
"potential" -> "potentially"
2018-04-02 18:23:30 +01:00
Toru Kobayashi
2e1554dc32
Adopt bvaughn's example
2018-04-03 02:02:45 +09:00
Chanyeon Kim
e8cdf5128a
Fix button => themed-buton ( #752 )
2018-04-01 14:10:34 +01:00
Cristian Garabagiu
82a402168d
Fixed broken URL ( #750 )
2018-04-01 13:34:58 +01:00
Asher Michael
c1c9714041
Update context.md ( #751 )
...
Corrected a grammar error in one of the notes section.
2018-04-01 13:34:24 +01:00
chucksellick
abd3af9a3d
Recommend getDerivedStateFromProps ( #747 )
...
Fix a couple of paragraphs that recommended UNSAFE_componentWillReceiveProps
where it would now be more correct to recommend getDerivedStateFromProps.
2018-03-31 19:41:01 +01:00
Pat
e61d594b64
Minor: context/theme-detailed-app.js broken ( #746 )
...
* Minor: context/theme-detailed-app.js broken
Today I tested out the new Context API using using [CRA](https://github.com/facebook/create-react-app ).
I encountered a runtime exception, so this tiny PR is intended to make it easier for future Context API learners.
`ReferenceError: Must call super constructor in derived class before accessing 'this' or returning from derived constructor`
create-react-app@next commit da518d2238298dd5db74e9c63c12251099f87bb0
* Update theme-detailed-app.js
2018-03-30 22:07:34 +01:00
Brian Vaughn
85f36661f7
Merge pull request #745 from nateq314/patch-1
...
Fix cDU to correctly make async request
2018-03-30 08:55:21 -07:00
Almero Steyn
a5a622e2c4
a11y-doc: Adjust Focus Control to new 16.3 refs + link fixes. ( #742 )
...
* a11y-doc: Adjust Focus Control to new 16.3 refs + link fixes.
* Update accessibility.md
2018-03-30 16:51:42 +01:00
Nathan Quarles
51a864d858
Fix cDU to correctly make async request
...
When a new `id` prop is passed in, `getDerivedStateFromProps` sets `this.state.externalData` to `null`. If I understand the new API correctly the return value of gDSFP() either becomes the new state or is merged into the new state? If so, then `componentDidUpdate` should examine the new state (`this.state.externalData`), not `prevState.externalData`.
2018-03-30 11:44:46 -04:00
Shovon Hasan
62638c8b2d
Fix broken link in UNSFE_componentWillReceiveProps docs. ( #744 )
2018-03-30 15:53:44 +01:00
Dan Abramov
2bd8eda1fc
Update refs-and-the-dom.md
2018-03-30 15:44:14 +01:00
Tatyana Tsvetkova
72fd7ff75a
Update accessibility.md ( #708 )
...
Fix for broken links to W3C
2018-03-30 15:09:02 +01:00
Christian Maughan Tegnér
b1d705ad60
Use correct component name in context doc example ( #740 )
...
* Use correct component name in context doc example
I'm assuming the intention was to reference the `FancyButton` component defined directly above, unless I'm misunderstanding how to read this example.
* Prettier
2018-03-30 15:08:36 +01:00
Toru Kobayashi
c72935a054
prettier
2018-03-30 15:25:16 +09:00
Toru Kobayashi
d5c449d824
React.forwardRef accepts a render function, not Functional Component
2018-03-30 14:14:29 +09:00
Alex Krolick
e8646074ee
Absolute link
2018-03-29 18:23:11 -07:00
Dan Abramov
ab436ccea3
Add missing "and"
2018-03-30 00:47:34 +01:00
Brian Vaughn
73ba23fccd
Updated createRef example not to use class property syntax
2018-03-29 14:56:43 -07:00
Brian Vaughn
99d5ce47d3
Replaced hyphen with em dash
2018-03-29 14:48:33 -07:00
Michael Jackson
425043533f
Merge pull request #700 from billyjanitsch/clarify-render-prop
...
Clarify PureComponent render prop caveat
2018-03-29 14:44:01 -07:00
Brian Vaughn
e86caae7a4
Merge pull request #735 from bvaughn/wording-tweaks
...
Wording tweaks
2018-03-29 13:33:50 -07:00
Brian Vaughn
221b7be5e9
nit
2018-03-29 13:32:36 -07:00
Brian Vaughn
2a9701805c
Wording tweaks
2018-03-29 13:31:16 -07:00
Brian Vaughn
63e0e91a3e
Merge pull request #734 from bvaughn/update-version
...
Updated site constants to 16.3
2018-03-29 13:21:46 -07:00
Brian Vaughn
fc9936f4ea
Updated site constants to 16.3
2018-03-29 13:18:03 -07:00
Brian Vaughn
b618684fe2
Merge pull request #587 from bvaughn/16.3-release-blog-post
...
16.3 release blog draft
2018-03-29 13:16:15 -07:00
Brian Vaughn
aa9810f4fd
Fixed some links and improved a recommendation
2018-03-29 12:59:26 -07:00
Brian Vaughn
ac1d767bd3
Fixed link
2018-03-29 12:51:14 -07:00
Brian Vaughn
5a587d187e
Tweaked link to Context API
2018-03-29 12:31:57 -07:00
Brian Vaughn
992a756306
Missing 'we'
2018-03-29 12:30:52 -07:00
Brian Vaughn
e5ca13e287
Cross-link to async update post
2018-03-29 11:18:56 -07:00
Brian Vaughn
3a36a402a5
Revert "Added inline child function caveat to Context docs"
...
This reverts commit 691cd4577c .
2018-03-29 09:24:43 -07:00
Brian Vaughn
797a792b77
Revert "Prettier"
...
This reverts commit 032576cf7b .
2018-03-29 09:24:38 -07:00
Brian Vaughn
032576cf7b
Prettier
2018-03-29 09:18:46 -07:00