Christopher Chedeau
eb9f4efde7
[flow] type adler32 ( #7080 )
...
This one is trivial
Test Plan:
npm run flow
Reviewers: @zpao @spicyj
(cherry picked from commit 489caeb2d7 )
2016-07-08 10:48:55 -07:00
Christopher Chedeau
8ee93720ce
[flow] type KeyEscapeUtils ( #7079 )
...
Summary:
The only call site ensures that the value is not null: https://github.com/facebook/react/blob/dc6fc8cc0726458a14f0544a30514af208d0098b/src/shared/utils/traverseAllChildren.js#L44
key is stringified inside of createElement, so we are guaranteed to receive a string right now: https://github.com/facebook/react/blob/dc6fc8cc0726458a14f0544a30514af208d0098b/src/isomorphic/classic/element/ReactElement.js#L142
Test Plan:
npm run flow
Reviewers: @zpao @spicyj
(cherry picked from commit 12a6ad1ef5 )
2016-07-08 10:48:55 -07:00
Christopher Chedeau
cea00b4b21
Merge pull request #7053 from vjeux/flow_accumulate
...
[flow] annotate accumulate, accumulateInto and forEachAccumulated
(cherry picked from commit 5b4dad31f8 )
2016-07-08 10:48:55 -07:00
Paul O’Shannessy
f3c9508e95
Specify possible need for C++ compiler ( #7064 )
...
(cherry picked from commit 4886e028bf )
2016-07-08 10:48:55 -07:00
Toru Kobayashi
23de673537
Remove setProps and replaceProps from src ( #7045 )
...
(cherry picked from commit e8fa464d6f )
2016-07-08 10:48:55 -07:00
Jim
26870ad27b
Move null-input-value-prop warning into devtool, add stack trace ( #7040 )
...
(cherry picked from commit 97d89fa5bf )
2016-07-08 10:48:55 -07:00
Paul O’Shannessy
54ee110436
Merge branch '15-stable' into 15-dev
2016-07-07 23:17:21 -07:00
Paul O’Shannessy
a011a23090
Import warnings that currently live in gists. ( #7175 )
...
(cherry picked from commit 26ed910f28 )
2016-07-05 13:54:19 -07:00
Samuel Reed
0d4c994471
Add PropTypes.symbol to reusable components doc ( #7171 )
...
(cherry picked from commit 3946ac33b8 )
2016-07-05 13:54:19 -07:00
Paul O’Shannessy
bc1d59ee19
Fix formatting of changelog
2016-07-01 11:56:41 -07:00
Paul O’Shannessy
3a6584b2ee
Update website for 15.2.0
2016-07-01 11:41:46 -07:00
Paul O’Shannessy
c650249339
15.2.0
v15.2.0
2016-07-01 11:31:05 -07:00
Paul O’Shannessy
516aa96419
Update readme for 15.2.0
2016-07-01 11:21:37 -07:00
Paul O’Shannessy
1808ecb348
Merge branch '15-dev' into 15-stable
2016-07-01 11:12:22 -07:00
Paul O’Shannessy
74c29b391a
Changelog for 15.2.0
2016-07-01 11:09:46 -07:00
Paul O’Shannessy
33f54bfaa1
15.2.0-rc.2
2016-06-30 23:22:15 -07:00
Griffin Michl
5131a43f96
Group warnings for unknown DOM properties ( #7153 )
...
(cherry picked from commit 39265cb892 )
2016-06-30 23:13:29 -07:00
Jim
62135da3ba
Add autoFocus to list of whitelisted dom element props. ( #7098 )
...
(cherry picked from commit b4fc27357c )
2016-06-30 23:13:10 -07:00
Brandon Dail
7fbbb535ff
Clarify purpose of state property in ES6 classes ( #7109 )
...
(cherry picked from commit 60760eb915 )
2016-06-29 10:15:09 -07:00
Jim
bda788e932
webcomponents should use attachedCallback instead of createdCallback. ( #7102 )
...
(cherry picked from commit c7ba16fbbf )
2016-06-29 10:15:09 -07:00
Paul O’Shannessy
ec44f2af6d
[docs] Update share button ( #7097 )
...
(cherry picked from commit 4f00553c15 )
2016-06-29 10:15:09 -07:00
Nik Nyby
6059444c84
update babel-core to 5.8.34 in tutorial docs ( #7059 )
...
(cherry picked from commit a8d8210222 )
2016-06-20 16:43:55 -07:00
Claudio Brandolino
814bf1ca0c
Standardise format of the three "state" questions. ( #7046 )
...
* Standardise format of the three "state" questions.
The original format follows the template:
> 1. x? if `x` then probably isn't state
> 2. y? if `!y` then probably isn't state
> 3. z? if `z` then it's not state
This caused both me and a hallway tester to do a double take.
The proposed reformulation allows the answers to follow the same template.
In the same spirit, it uses the same contraction pattern in the last answer (`it's not state`-> `it isn't state`). This has the welcome side effect to make the lack of "probably" stand out more.
* Update phrasing in thinking in reacr
(cherry picked from commit 5bca3773ab )
2016-06-20 16:43:55 -07:00
Toru Kobayashi
aaa496213e
Remove setProps and replaceProps from docs ( #7044 )
...
(cherry picked from commit 718c07c915 )
2016-06-20 16:43:55 -07:00
Paul O’Shannessy
c66f40f749
15.2.0-rc.1
2016-06-14 18:24:12 -07:00
Paul O’Shannessy
e921abf260
Re-shrinkwrap for latest dependency changes & updates
2016-06-14 18:20:57 -07:00
Paul O’Shannessy
d893ab6428
Merge pull request #7042 from zpao/15-dev-fixups
...
15 dev fixups
2016-06-14 18:20:07 -07:00
Paul O’Shannessy
dbb67824a4
Don't build fiber files into package
2016-06-14 18:16:42 -07:00
Paul O’Shannessy
592abf8ee7
Update the error codes
2016-06-14 18:16:41 -07:00
Paul O’Shannessy
2a411dd248
Revert part of createElement validation changes from #6859
2016-06-14 18:16:41 -07:00
Juan
909d647801
Update readme to latest React description ( #7014 )
...
* Update readme to latest React description
* Update readme to latest wordsmithing
(cherry picked from commit b618b786a9 )
2016-06-14 15:50:39 -07:00
Christoph Pojer
243be87c6d
Add symbol to identify a ReactTestComponent instance. ( #7035 )
...
(cherry picked from commit 6b8db0e111 )
2016-06-14 15:50:39 -07:00
Dominic Gannaway
eab4ffa721
Performance: setTextContent should attempt to set TextNode nodeValue where possible ( #7005 )
...
(cherry picked from commit 40f6d3eaca )
2016-06-14 15:50:39 -07:00
Keyan Zhang
1e0f0a35cf
pinned babylon version for eslint to work ( #7008 )
...
(cherry picked from commit 46cd6a0b62 )
2016-06-14 15:50:39 -07:00
Jim
d4aebaa671
Remove console.log from test ( #7006 )
...
(cherry picked from commit 2282894d52 )
2016-06-14 15:50:39 -07:00
Jim
cd5189a63c
Fix controlled/uncontrolled validation for radio+checkbox inputs ( #7003 )
...
(cherry picked from commit 0bb0fe8d00 )
2016-06-14 15:50:39 -07:00
Jim
cf50a83b8d
Fix IE11 placeholder textContent value bug. ( #7002 )
...
(cherry picked from commit f0b140d726 )
2016-06-14 15:50:39 -07:00
Brandon Dail
89746fa70f
Warn if childContextType is defined on SFC ( #6933 )
...
Add console.error message content check
Use appropriate name in warning/test
(cherry picked from commit c47830d12c )
2016-06-14 15:50:39 -07:00
Hiroyuki Wada
e1c2c42c24
Fix #5839 Add error event to source element ( #6941 )
...
* Fix #5839 Add error event to source element
* Add test case for <source onError={callback}>
(cherry picked from commit 518336e2fb )
2016-06-14 15:50:39 -07:00
Josh Hunt
05c133a9c3
Fix #6950 , work around IE missing innerHTML on SVG nodes ( #6982 )
...
* Workaround IE lacking innerHTML on SVG elements
* Add tests for setInnerHTML
* Correctly check if node has innerHTML property
* Ensure tests for setInnerHTML actually tests both codepaths
* Provide mock element for setInnerHTML tests
* Only use SVG setInnerHTML workaround for SVG elements
(cherry picked from commit 99d8524d23 )
2016-06-14 15:50:38 -07:00
Sebastian Markbåge
92bda144d9
Merge pull request #6988 from sebmarkbage/newreconciler
...
[Fiber] Minimize abuse of .alternate
(cherry picked from commit 0cafd83834 )
2016-06-14 15:50:38 -07:00
Timothy Yung
6eeb2898f7
Improve error message for components in bad states (missing instance) ( #6990 )
...
(cherry picked from commit 7988acaa95 )
2016-06-14 15:50:38 -07:00
Keyan Zhang
e974383cba
Add reactProdInvariant and corresponding babel rewrite pass ( #6948 )
...
(cherry picked from commit 1abce1630c )
2016-06-14 15:50:38 -07:00
Sebastian Markbåge
7912baea69
Merge pull request #6981 from sebmarkbage/newreconciler
...
[Fiber] Add support for simple updates and fiber pooling
(cherry picked from commit ccd26ee020 )
2016-06-14 15:50:38 -07:00
Jim
07389fd9fc
Fix autofocus for input and textarea ( #6986 )
...
(cherry picked from commit eb705d1448 )
2016-06-14 15:50:32 -07:00
Dan Abramov
7a4aef0d0d
Tweak ReactPerf warning message and code style ( #6977 )
...
(cherry picked from commit d101f68bce )
2016-06-14 15:49:51 -07:00
Alexander
85fd90d4c2
Warn that ReactPerf does not work in the production build ( #6884 )
...
Fixes #6871
(cherry picked from commit 2a46103ac8 )
2016-06-14 15:49:51 -07:00
Ben Alpert
6080ab547d
Fix function declaration in if statement ( #6963 )
...
Firefox doesn't like these and throws.
(cherry picked from commit 3c3c30a19a )
2016-06-14 15:49:50 -07:00
Keyan Zhang
6562466c9e
Fix null node issue in ReactCSSTransitionGroup ( #6958 )
...
(cherry picked from commit c9eb572a6f )
2016-06-14 15:49:50 -07:00
Paul O’Shannessy
904c6e767b
Merge pull request #6957 from zpao/flow026
...
Upgrade Flow
(cherry picked from commit d3b36d5524 )
2016-06-14 15:49:50 -07:00