Skip to content

Commit 3d3ea9a

Browse files
committed
[change] Remove ART export
Anticipate the removal of ART from React Native core: facebook/react-native#23313 Simplifies dependencies and builds for web apps. Close #1251
1 parent 69bd0f6 commit 3d3ea9a

File tree

9 files changed

+0
-33
lines changed

9 files changed

+0
-33
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ React Native v0.55
128128
| Name | Status | Notes |
129129
| :----------------------- | :----- | :---- |
130130
| ActivityIndicator || |
131-
| ART || |
132131
| Button || |
133132
| CheckBox || |
134133
| FlatList || |

docs/guides/getting-started.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ the recommendations in the [React documentation](https://reactjs.org/).
1616
yarn add react react-dom react-native-web
1717
```
1818

19-
And if you need to use `ART`:
20-
21-
```
22-
yarn add react-art
23-
```
24-
2519
## Starter kits
2620

2721
[create-react-app](https://github.com/facebookincubator/create-react-app)

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
"npm-run-all": "^4.1.3",
5959
"prettier": "^1.12.1",
6060
"react": "^16.7.0",
61-
"react-art": "^16.7.0",
6261
"react-dom": "^16.7.0",
6362
"react-test-renderer": "^16.7.0"
6463
},

packages/babel-plugin-react-native-web/src/moduleMap.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
22
module.exports = {
3-
ART: true,
43
AccessibilityInfo: true,
54
ActivityIndicator: true,
65
Alert: true,

packages/examples/src/RNTester/RNTesterList.web.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ const ComponentExamples: Array<RNTesterExample> = [
2020
key: 'ActivityIndicatorExample',
2121
module: require('./ActivityIndicatorExample')
2222
},
23-
{
24-
key: 'ARTExample',
25-
module: require('./ARTExample')
26-
},
2723
{
2824
key: 'ButtonExample',
2925
module: require('./ButtonExample')

packages/react-native-web/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
},
3030
"peerDependencies": {
3131
"react": ">=16.5.1",
32-
"react-art": ">=16.5.1",
3332
"react-dom": ">=16.5.1"
3433
},
3534
"author": "Nicolas Gallagher",

packages/react-native-web/src/exports/ART/index.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

packages/react-native-web/src/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ import Vibration from './exports/Vibration';
3838

3939
// components
4040
import ActivityIndicator from './exports/ActivityIndicator';
41-
import ART from './exports/ART';
4241
import Button from './exports/Button';
4342
import CheckBox from './exports/CheckBox';
4443
import FlatList from './exports/FlatList';
@@ -147,7 +146,6 @@ export {
147146
Vibration,
148147
// components
149148
ActivityIndicator,
150-
ART,
151149
Button,
152150
CheckBox,
153151
FlatList,

yarn.lock

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1426,10 +1426,6 @@ arrify@^1.0.1:
14261426
version "1.0.1"
14271427
resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d"
14281428

1429-
art@^0.10.1:
1430-
version "0.10.3"
1431-
resolved "https://registry.yarnpkg.com/art/-/art-0.10.3.tgz#b01d84a968ccce6208df55a733838c96caeeaea2"
1432-
14331429
asap@^2.0.3, asap@~2.0.3:
14341430
version "2.0.6"
14351431
resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46"
@@ -8538,17 +8534,6 @@ react-addons-shallow-compare@^15.6.2:
85388534
fbjs "^0.8.4"
85398535
object-assign "^4.1.0"
85408536

8541-
react-art@^16.7.0:
8542-
version "16.7.0"
8543-
resolved "https://registry.yarnpkg.com/react-art/-/react-art-16.7.0.tgz#e06943f4e939c1ebf14632ff45adb8e1a8b77ff5"
8544-
dependencies:
8545-
art "^0.10.1"
8546-
create-react-class "^15.6.2"
8547-
loose-envify "^1.1.0"
8548-
object-assign "^4.1.1"
8549-
prop-types "^15.6.2"
8550-
scheduler "^0.12.0"
8551-
85528537
react-deep-force-update@^1.0.0:
85538538
version "1.1.2"
85548539
resolved "https://registry.yarnpkg.com/react-deep-force-update/-/react-deep-force-update-1.1.2.tgz#3d2ae45c2c9040cbb1772be52f8ea1ade6ca2ee1"

0 commit comments

Comments
 (0)