Skip to content

Commit

Permalink
[change] Remove ART export
Browse files Browse the repository at this point in the history
Anticipate the removal of ART from React Native core:
facebook/react-native#23313

Simplifies dependencies and builds for web apps.

Close #1251
  • Loading branch information
smartDev420 authored and smartDev420 committed Mar 11, 2019
1 parent 2a63182 commit b8e572c
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 33 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ React Native v0.55
| Name | Status | Notes |
| :----------------------- | :----- | :---- |
| ActivityIndicator || |
| ART || |
| Button || |
| CheckBox || |
| FlatList || |
Expand Down
6 changes: 0 additions & 6 deletions docs/guides/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
1 change: 0 additions & 1 deletion packages/babel-plugin-react-native-web/src/moduleMap.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
module.exports = {
ART: true,
AccessibilityInfo: true,
ActivityIndicator: true,
Alert: true,
Expand Down
4 changes: 0 additions & 4 deletions packages/examples/src/RNTester/RNTesterList.web.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ const ComponentExamples: Array<RNTesterExample> = [
key: 'ActivityIndicatorExample',
module: require('./ActivityIndicatorExample')
},
{
key: 'ARTExample',
module: require('./ARTExample')
},
{
key: 'ButtonExample',
module: require('./ButtonExample')
Expand Down
1 change: 0 additions & 1 deletion packages/react-native-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
},
"peerDependencies": {
"react": ">=16.5.1",
"react-art": ">=16.5.1",
"react-dom": ">=16.5.1"
},
"author": "Nicolas Gallagher",
Expand Down
2 changes: 0 additions & 2 deletions packages/react-native-web/src/exports/ART/index.js

This file was deleted.

2 changes: 0 additions & 2 deletions packages/react-native-web/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -147,7 +146,6 @@ export {
Vibration,
// components
ActivityIndicator,
ART,
Button,
CheckBox,
FlatList,
Expand Down
15 changes: 0 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit b8e572c

Please sign in to comment.