Commit Graph

7672 Commits

Author SHA1 Message Date
Brian Vaughn
5530c7565b
RFC 6: createReactClass updates (#12036)
* Added UNSAFE_ methods to create-class HAS_MANY list
* Added warning for UNSAFE_componentWillRecieveProps misspelling
* Bumping create-react-class package version
* Added support for static getDerivedStateFromProps mixins
2018-01-19 15:13:26 -08:00
Jason Quense
4c75c5bf58 cherry pick radio input fix 2017-11-16 14:22:21 -05:00
Dan Abramov
571a9208d5 Tweak blog post to match others 2017-09-26 11:39:18 +01:00
Paul O’Shannessy
f1a8b33a02 Fix author in latest blog post (#10827)
Fix this so that @nhunzaker gets his name up there for real (will want to cherry-pick back to master but the blog post isn't there either so I'll let y'all handle that)
2017-09-26 11:33:31 +01:00
Sophie Alpert
ffbc2db0e7 Merge branch '15.6-dev' into 15-stable 2017-09-25 17:06:40 -07:00
Nathan Hunzaker
5634f0d113 15.6.2 2017-09-25 17:02:44 -07:00
Sophie Alpert
8c3cececb7 15.x: BSD+Patents -> MIT 2017-09-25 17:02:44 -07:00
Sophie Alpert
080db9d3a7 15.x: File headers BSD+Patents -> MIT 2017-09-25 17:02:43 -07:00
Nathan Hunzaker
838937189d Update timestamps 2017-09-25 17:02:43 -07:00
Nathan Hunzaker
5be8f5f40b Update timestamps on post and changelog 2017-09-25 17:02:43 -07:00
Nathan Hunzaker
cc9d64c681 Use standard method of testing for production 2017-09-25 17:02:43 -07:00
Nathan Hunzaker
e0c864d2cf Correct ref warning entry in changelog 2017-09-25 17:02:43 -07:00
Nathan Hunzaker
06d2556ccf Improve grammar on changelog #10025 entry 2017-09-25 17:02:43 -07:00
Nathan Hunzaker
fe69ea48f9 Update changelog with #10025 2017-09-25 17:02:43 -07:00
Nathan Hunzaker
b2185d7321 Update release date 2017-09-25 17:02:43 -07:00
Ian Sutherland
1347b4a9d9 Added unit tests for creating an element with a ref in a constructor. Only set ReactCurrentOwner.current in dev mode when the component has no constructor. (#10025)
nhunzaker: I've added an additional line to the ref test that sets the
NODE_ENV invironment variable. This allows the test to pass.
2017-09-25 17:02:43 -07:00
Nathan Hunzaker
8af9dbf77c Add 15.6.2 blog post 2017-09-25 17:02:42 -07:00
Dan Abramov
86d88a07a9 Update error codes 2017-09-14 13:37:47 +01:00
Brian Emil Hartz
0d9b921ad5 More explicit class method for ref doc (#10228)
After realizing this was the second time I've visited this exact page within a year and second guessing myself that the `textInput` ref isn't actually the `<input />` element. I decided to attempt to make this a little more explicit; you are actually accessing the method on the child class and not the `focus` method on the dom input element. Having them named the same caused some confusion.

(cherry picked from commit 6d37c05dd7)
2017-09-10 14:49:02 -07:00
Taegon Kim
88453bdcd1 Add React Seoul 2017 to the conferences list (#10661)
(cherry picked from commit f76467e8e5)
2017-09-10 12:41:20 -07:00
Dan Abramov
0e2dba070a Blog post: DOM Attributes in React 16 (#10650)
* Blog post: DOM Attributes in React 16

* Testing the RC
2017-09-08 20:30:23 +01:00
Daniel Rotter
5b2fa6e2b1 Add AgentConf 2018 (#10614)
* Add AgentConf 2018

We are having another edition of the AgentConf in 2018, which has again a strong focus on react, and we'll be skiing again 😎 Last year's PR for reference: https://github.com/facebook/react/pull/8196

* Update conferences.md
2017-09-08 20:30:13 +01:00
Tyler Deitz
e19c738ce2 Update reference-events.md (#10554) 2017-09-08 20:29:16 +01:00
Robert Haritonov
aa2572e1fd add React Day Berlin (#10492) 2017-09-08 20:28:42 +01:00
Karthik Balakrishnan
354706ab8e Add ReactFoo 2017 to list of upcoming conferences (#10467) 2017-09-08 20:27:52 +01:00
Michiya
437dbea757 Update conferences.md (#10160) 2017-09-08 20:26:23 +01:00
Flarnie Marchan
bd92ae6efe Update error codes (#10621)
https://github.com/facebook/react/tree/master/scripts/release-manager#update-the-error-codes
2017-09-06 11:13:52 -07:00
Brian Vaughn
e6f5375653 Added "Advanced Guides" page about cross-origin Errros (#10457) 2017-08-14 13:44:37 -07:00
Nathan Hunzaker
c08911c0a7
Update React version in docs 2017-08-10 14:00:00 -04:00
Nathan Hunzaker
31ada74f34
Add 15.6.2 changelog 2017-08-10 13:57:24 -04:00
Nathan Hunzaker
f8afe8309b
Update yarn.lock file 2017-08-10 13:41:24 -04:00
Nathan Hunzaker
c802f940ac
Add controlList to DOM property whitelist (#9940)
See:

- https://github.com/WICG/controls-list/blob/gh-pages/explainer.md
- https://developers.google.com/web/updates/2017/03/chrome-58-media-updates#controlslist
2017-08-10 13:34:43 -04:00
Brandon Dail
3c55d12587
Use a closure to bind argument to callback in ReactErrorUtils (#8363)
* Use a closure to bind gaurded callback

This way the fake event isn't being implicitly passed into the event handler

* Add tests for ReactErrorUtils

Add fiber test report

Linting fixes
2017-08-10 13:34:33 -04:00
walrusfruitcake
dec3ed1556
move augmentClass definition above SyntheticEvent Proxy replacement (#10011) 2017-08-10 12:48:44 -04:00
Brandon Dail
16ed333e26
Add columns to isUnitlessNumber list 2017-08-10 12:38:28 -04:00
Ben Alpert
77b71fc3c4 Update installation.md 2017-08-05 13:15:08 +01:00
Devedse
8594fe291a Wop optimized this repository (#10374)
The Web Optimization Project optimized this repository. This commit contains the optimized files in this repository.
2017-08-04 14:42:48 +01:00
Dan Abramov
0cce0eb946 Update codes 2017-08-04 00:35:55 +01:00
Dan Abramov
bc472d8389 Add documentation about <script crossorigin> for React CDN usage 2017-08-03 16:14:51 +01:00
Dan Abramov
80255c8d3b react-dom-factories@1.0.1 2017-08-02 19:15:18 +01:00
Dan Abramov
116a878b15 Remove React from peers of react-dom-factories
Fixes #10358
2017-08-02 19:14:57 +01:00
Dan Abramov
d3cef408bb Use createElement rather than createFactory in react-dom-factories
This is a tiny bit more future-proof.
2017-08-02 19:14:17 +01:00
Brandon Dail
a7f0119bc1 Use boolean assertion for documentMode check (#10032) 2017-08-01 15:19:14 -05:00
Dan Abramov
c0492cb555 Make it more specific 2017-07-27 23:45:15 +01:00
Fernando Montoya
63bd514db3 Add Babel plugin note to Error boundaries post (#10313)
* Add Babel plugin note to Error boundaries post

* Added section with screenshots

* Add context to Component stack traces

* Update 2017-07-26-error-handling-in-react-16.md

* Move section, more minor changes

* Change pics
2017-07-27 23:26:32 +01:00
Toru Kobayashi
ca0a4a948b Add a link for the error boundaries codemod into the blog post (#10305)
* Add a link for the error boundaries codemod into the blog post

* Update 2017-07-26-error-handling-in-react-16.md
2017-07-27 14:58:21 +01:00
Dan Abramov
716abcd45a Reword further 2017-07-27 10:48:47 +01:00
Daniel Lo Nigro
7dae9312ee Replace "children (and grandchildren)" with "descendants" (#10297) 2017-07-27 10:24:36 +01:00
Dan Abramov
d40487539a Link to React 16 beta 2017-07-26 21:20:33 +01:00
Dan Abramov
b7dd6d4e25 Blog post: Error Handling in React 16 (#10267)
* Blog post: Error Handling in React 16

* Change the date
2017-07-26 21:20:29 +01:00