mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-18 12:49:24 +00:00
[change] Remove ART export
Anticipate the removal of ART from React Native core: https://github.com/facebook/react-native/issues/23313 Simplifies dependencies and builds for web apps. Close #1251
This commit is contained in:
@@ -128,7 +128,6 @@ React Native v0.55
|
||||
| Name | Status | Notes |
|
||||
| :----------------------- | :----- | :---- |
|
||||
| ActivityIndicator | ✓ | |
|
||||
| ART | ✓ | |
|
||||
| Button | ✓ | |
|
||||
| CheckBox | ✓ | |
|
||||
| FlatList | ✓ | |
|
||||
|
||||
@@ -16,12 +16,6 @@ the recommendations in the [React documentation](https://reactjs.org/).
|
||||
yarn add react react-dom react-native-web
|
||||
```
|
||||
|
||||
And if you need to use `ART`:
|
||||
|
||||
```
|
||||
yarn add react-art
|
||||
```
|
||||
|
||||
## Starter kits
|
||||
|
||||
[create-react-app](https://github.com/facebookincubator/create-react-app)
|
||||
|
||||
@@ -58,7 +58,6 @@
|
||||
"npm-run-all": "^4.1.3",
|
||||
"prettier": "^1.12.1",
|
||||
"react": "^16.7.0",
|
||||
"react-art": "^16.7.0",
|
||||
"react-dom": "^16.7.0",
|
||||
"react-test-renderer": "^16.7.0"
|
||||
},
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
module.exports = {
|
||||
ART: true,
|
||||
AccessibilityInfo: true,
|
||||
ActivityIndicator: true,
|
||||
Alert: true,
|
||||
|
||||
@@ -20,10 +20,6 @@ const ComponentExamples: Array<RNTesterExample> = [
|
||||
key: 'ActivityIndicatorExample',
|
||||
module: require('./ActivityIndicatorExample')
|
||||
},
|
||||
{
|
||||
key: 'ARTExample',
|
||||
module: require('./ARTExample')
|
||||
},
|
||||
{
|
||||
key: 'ButtonExample',
|
||||
module: require('./ButtonExample')
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">=16.5.1",
|
||||
"react-art": ">=16.5.1",
|
||||
"react-dom": ">=16.5.1"
|
||||
},
|
||||
"author": "Nicolas Gallagher",
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
import ART from 'react-art';
|
||||
export default ART;
|
||||
-2
@@ -38,7 +38,6 @@ import Vibration from './exports/Vibration';
|
||||
|
||||
// components
|
||||
import ActivityIndicator from './exports/ActivityIndicator';
|
||||
import ART from './exports/ART';
|
||||
import Button from './exports/Button';
|
||||
import CheckBox from './exports/CheckBox';
|
||||
import FlatList from './exports/FlatList';
|
||||
@@ -147,7 +146,6 @@ export {
|
||||
Vibration,
|
||||
// components
|
||||
ActivityIndicator,
|
||||
ART,
|
||||
Button,
|
||||
CheckBox,
|
||||
FlatList,
|
||||
|
||||
@@ -1426,10 +1426,6 @@ arrify@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d"
|
||||
|
||||
art@^0.10.1:
|
||||
version "0.10.3"
|
||||
resolved "https://registry.yarnpkg.com/art/-/art-0.10.3.tgz#b01d84a968ccce6208df55a733838c96caeeaea2"
|
||||
|
||||
asap@^2.0.3, asap@~2.0.3:
|
||||
version "2.0.6"
|
||||
resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46"
|
||||
@@ -8538,17 +8534,6 @@ react-addons-shallow-compare@^15.6.2:
|
||||
fbjs "^0.8.4"
|
||||
object-assign "^4.1.0"
|
||||
|
||||
react-art@^16.7.0:
|
||||
version "16.7.0"
|
||||
resolved "https://registry.yarnpkg.com/react-art/-/react-art-16.7.0.tgz#e06943f4e939c1ebf14632ff45adb8e1a8b77ff5"
|
||||
dependencies:
|
||||
art "^0.10.1"
|
||||
create-react-class "^15.6.2"
|
||||
loose-envify "^1.1.0"
|
||||
object-assign "^4.1.1"
|
||||
prop-types "^15.6.2"
|
||||
scheduler "^0.12.0"
|
||||
|
||||
react-deep-force-update@^1.0.0:
|
||||
version "1.1.2"
|
||||
resolved "https://registry.yarnpkg.com/react-deep-force-update/-/react-deep-force-update-1.1.2.tgz#3d2ae45c2c9040cbb1772be52f8ea1ade6ca2ee1"
|
||||
|
||||
Reference in New Issue
Block a user