Delete addons (#9209)

* Delete addons

* Remove ReactFragment dependency from tests

* Remove addons testing from fixtures

* Don't mention createFragment() in a warning

* Address feedback

* Remove unused variables

* Remove mention of deleted file

* Add a missing key to the test

* Fix lint
This commit is contained in:
Dan Abramov
2017-03-20 16:15:01 +00:00
committed by GitHub
parent ce2f40219b
commit 86e91aaa00
70 changed files with 88 additions and 3768 deletions
-2
View File
@@ -6,8 +6,6 @@ if [ -z $CI_PULL_REQUEST ] && [ -n "$BUILD_SERVER_ENDPOINT" ]; then
curl \
-F "react=@build/react.js" \
-F "react.min=@build/react.min.js" \
-F "react-with-addons=@build/react-with-addons.js" \
-F "react-with-addons.min=@build/react-with-addons.min.js" \
-F "react-dom=@build/react-dom.js" \
-F "react-dom.min=@build/react-dom.min.js" \
-F "react-dom-server=@build/react-dom-server.js" \
-76
View File
@@ -42,82 +42,6 @@ scripts/error-codes/__tests__/invertObject-test.js
* should take the last value when there're duplications in vals
* should preserve the original order
src/addons/__tests__/ReactComponentWithPureRenderMixin-test.js
* provides a default shouldComponentUpdate implementation
* does not do a deep comparison
src/addons/__tests__/ReactFragment-test.js
* should throw if a plain object is used as a child
* should throw if a plain object even if it is in an owner
* warns for numeric keys on objects as children
* should warn if passing null to createFragment
* should warn if passing an array to createFragment
* should warn if passing a ReactElement to createFragment
src/addons/__tests__/renderSubtreeIntoContainer-test.js
* should pass context when rendering subtree elsewhere
* should throw if parentComponent is invalid
* should update context if it changes due to setState
* should update context if it changes due to re-render
* should render portal with non-context-provider parent
* should get context through non-context-provider parent
* should get context through middle non-context-provider layer
src/addons/__tests__/update-test.js
* pushes
* does not mutate the original object
* only pushes an array
* only pushes unto an array
* unshifts
* does not mutate the original object
* only unshifts an array
* only unshifts unto an array
* splices
* does not mutate the original object
* only splices an array of arrays
* only splices unto an array
* merges
* does not mutate the original object
* only merges with an object
* only merges with an object
* sets
* does not mutate the original object
* applies
* does not mutate the original object
* only applies a function
* should support deep updates
* should require a command
* should perform safe hasOwnProperty check
src/addons/transitions/__tests__/ReactCSSTransitionGroup-test.js
* should warn if timeouts aren't specified
* should not warn if timeouts is zero
* should clean-up silently after the timeout elapses
* should keep both sets of DOM nodes around
* should switch transitionLeave from false to true
* should work with no children
* should work with a null child
* should transition from one to null
* should transition from false to one
* should use transition-type specific names when they're provided
* should clear transition timeouts when unmounted
* should handle unmounted elements properly
src/addons/transitions/__tests__/ReactTransitionChildMapping-test.js
* should support getChildMapping
* should support mergeChildMappings for adding keys
* should support mergeChildMappings for removing keys
* should support mergeChildMappings for adding and removing
* should reconcile overlapping insertions and deletions
* should support mergeChildMappings with undefined input
src/addons/transitions/__tests__/ReactTransitionGroup-test.js
* should handle willEnter correctly
* should handle enter/leave/enter/leave correctly
* should handle enter/leave/enter correctly
* should handle entering/leaving several elements at once
* should warn for duplicated keys
src/isomorphic/__tests__/React-test.js
* should log a deprecation warning once when using React.createMixin
@@ -3,15 +3,6 @@
const querystring = require('querystring');
const PACKAGES = [
'react-addons-create-fragment',
'react-addons-css-transition-group',
'react-addons-linked-state-mixin',
'react-addons-perf',
'react-addons-pure-render-mixin',
'react-addons-shallow-compare',
'react-addons-test-utils',
'react-addons-transition-group',
'react-addons-update',
'react-dom',
'react-native-renderer',
'react-test-renderer',