Skip to content

Commit c61b663

Browse files
authored
bs-react-native-next: bs-platform 5.0.1 & reason-react 0.7.0 🥳 (facebook#362)
https://twitter.com/rickyvetter/status/1115964552921927680
1 parent 9acff70 commit c61b663

File tree

9 files changed

+34
-34
lines changed

9 files changed

+34
-34
lines changed

‎README.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,8 @@ risk._
4646

4747
Things you need
4848

49-
- `package.json` dep: `"bs-platform": "^5.0.1-beta.1",`
50-
- `package.json` dep:
51-
`"reason-react": "https://github.com/reasonml/reason-react.git#0.7.0",`
49+
- `package.json` dep: `"bs-platform": "^5.0.1"`
50+
- `package.json` dep: `"reason-react": "^0.7.0"`
5251
- `bsconfig.json`: `"reason": { "react-jsx": 3 }`
5352

5453
---

‎bs-react-native-next/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
"test": "yarn re:clean-build"
1919
},
2020
"devDependencies": {
21-
"bs-platform": "5.0.1-beta.1",
22-
"reason-react": "https://github.com/reasonml/reason-react.git#hooks"
21+
"bs-platform": "^5.0.1",
22+
"reason-react": "^0.7.0"
2323
},
2424
"peerDependencies": {
2525
"react-native": "^0.59.0",
26-
"reason-react": "https://github.com/reasonml/reason-react.git#hooks"
26+
"reason-react": "^0.7.0"
2727
}
2828
}

‎bs-react-native-next/src/components/FlatList.re‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,9 @@ type scrollToEndOptions;
177177
[@bs.obj]
178178
external scrollToEndOptions: (~animated: bool=?, unit) => scrollToEndOptions =
179179
"";
180-
[@bs.send] external scrollToEnd: React.Ref.domRef => unit = "scrollToEnd";
180+
[@bs.send] external scrollToEnd: ReactDOMRe.Ref.t => unit = "scrollToEnd";
181181
[@bs.send]
182-
external scrollToEndWithOptions: (React.Ref.domRef, scrollToEndOptions) => unit =
182+
external scrollToEndWithOptions: (ReactDOMRe.Ref.t, scrollToEndOptions) => unit =
183183
"scrollToEnd";
184184

185185
type scrollToIndexParams;
@@ -214,6 +214,6 @@ external scrollToOffsetParams:
214214
[@bs.send]
215215
external scrollToOffset: scrollToOffsetParams => unit = "scrollToOffset";
216216

217-
[@bs.send] external recordInteraction: React.Ref.domRef => unit = "";
217+
[@bs.send] external recordInteraction: ReactDOMRe.Ref.t => unit = "";
218218

219-
[@bs.send] external flashScrollIndicators: React.Ref.domRef => unit = "";
219+
[@bs.send] external flashScrollIndicators: ReactDOMRe.Ref.t => unit = "";

‎bs-react-native-next/src/components/ScrollView.re‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ type scrollToEndOptions;
137137
external scrollToEndOptions:
138138
(~animated: bool=?, ~duration: float=?, unit) => scrollToEndOptions =
139139
"";
140-
[@bs.send] external scrollToEnd: React.Ref.domRef => unit = "scrollToEnd";
140+
[@bs.send] external scrollToEnd: ReactDOMRe.Ref.t => unit = "scrollToEnd";
141141
[@bs.send]
142-
external scrollToEndWithOptions: (React.Ref.domRef, scrollToEndOptions) => unit =
142+
external scrollToEndWithOptions: (ReactDOMRe.Ref.t, scrollToEndOptions) => unit =
143143
"scrollToEnd";
144144

145-
[@bs.send] external flashScrollIndicators: React.Ref.domRef => unit = "";
145+
[@bs.send] external flashScrollIndicators: ReactDOMRe.Ref.t => unit = "";

‎bs-react-native-next/src/components/SectionList.re‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ type scrollToEndOptions;
180180
[@bs.obj]
181181
external scrollToEndOptions: (~animated: bool=?, unit) => scrollToEndOptions =
182182
"";
183-
[@bs.send] external scrollToEnd: React.Ref.domRef => unit = "scrollToEnd";
183+
[@bs.send] external scrollToEnd: ReactDOMRe.Ref.t => unit = "scrollToEnd";
184184
[@bs.send]
185-
external scrollToEndWithOptions: (React.Ref.domRef, scrollToEndOptions) => unit =
185+
external scrollToEndWithOptions: (ReactDOMRe.Ref.t, scrollToEndOptions) => unit =
186186
"scrollToEnd";
187187

188188
type scrollToIndexParams;
@@ -217,6 +217,6 @@ external scrollToOffsetParams:
217217
[@bs.send]
218218
external scrollToOffset: scrollToOffsetParams => unit = "scrollToOffset";
219219

220-
[@bs.send] external recordInteraction: React.Ref.domRef => unit = "";
220+
[@bs.send] external recordInteraction: ReactDOMRe.Ref.t => unit = "";
221221

222-
[@bs.send] external flashScrollIndicators: React.Ref.domRef => unit = "";
222+
[@bs.send] external flashScrollIndicators: ReactDOMRe.Ref.t => unit = "";

‎bs-react-native-next/src/components/TouchableOpacity.re‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ external make:
4848
"TouchableOpacity";
4949

5050
[@bs.send]
51-
external setOpacityTo: (React.Ref.domRef, float, float) => unit =
51+
external setOpacityTo: (ReactDOMRe.Ref.t, float, float) => unit =
5252
"setOpacityTo";

‎bs-react-native-next/src/components/VirtualizedList.re‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,9 @@ type scrollToEndOptions;
230230
[@bs.obj]
231231
external scrollToEndOptions: (~animated: bool=?, unit) => scrollToEndOptions =
232232
"";
233-
[@bs.send] external scrollToEnd: React.Ref.domRef => unit = "scrollToEnd";
233+
[@bs.send] external scrollToEnd: ReactDOMRe.Ref.t => unit = "scrollToEnd";
234234
[@bs.send]
235-
external scrollToEndWithOptions: (React.Ref.domRef, scrollToEndOptions) => unit =
235+
external scrollToEndWithOptions: (ReactDOMRe.Ref.t, scrollToEndOptions) => unit =
236236
"scrollToEnd";
237237

238238
type scrollToIndexParams;
@@ -267,6 +267,6 @@ external scrollToOffsetParams:
267267
[@bs.send]
268268
external scrollToOffset: scrollToOffsetParams => unit = "scrollToOffset";
269269

270-
[@bs.send] external recordInteraction: React.Ref.domRef => unit = "";
270+
[@bs.send] external recordInteraction: ReactDOMRe.Ref.t => unit = "";
271271

272-
[@bs.send] external flashScrollIndicators: React.Ref.domRef => unit = "";
272+
[@bs.send] external flashScrollIndicators: ReactDOMRe.Ref.t => unit = "";

‎bs-react-native-next/src/components/VirtualizedSectionList.re‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,9 @@ type scrollToEndOptions;
193193
[@bs.obj]
194194
external scrollToEndOptions: (~animated: bool=?, unit) => scrollToEndOptions =
195195
"";
196-
[@bs.send] external scrollToEnd: React.Ref.domRef => unit = "scrollToEnd";
196+
[@bs.send] external scrollToEnd: ReactDOMRe.Ref.t => unit = "scrollToEnd";
197197
[@bs.send]
198-
external scrollToEndWithOptions: (React.Ref.domRef, scrollToEndOptions) => unit =
198+
external scrollToEndWithOptions: (ReactDOMRe.Ref.t, scrollToEndOptions) => unit =
199199
"scrollToEnd";
200200

201201
type scrollToIndexParams;
@@ -230,6 +230,6 @@ external scrollToOffsetParams:
230230
[@bs.send]
231231
external scrollToOffset: scrollToOffsetParams => unit = "scrollToOffset";
232232

233-
[@bs.send] external recordInteraction: React.Ref.domRef => unit = "";
233+
[@bs.send] external recordInteraction: ReactDOMRe.Ref.t => unit = "";
234234

235-
[@bs.send] external flashScrollIndicators: React.Ref.domRef => unit = "";
235+
[@bs.send] external flashScrollIndicators: ReactDOMRe.Ref.t => unit = "";

‎yarn.lock‎

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2398,16 +2398,16 @@ braces@^2.3.1:
23982398
split-string "^3.0.2"
23992399
to-regex "^3.0.1"
24002400

2401-
2402-
version "5.0.1-beta.1"
2403-
resolved "https://registry.yarnpkg.com/bs-platform/-/bs-platform-5.0.1-beta.1.tgz#e6267122ce04420224b1e1e658701d1652a7f73a"
2404-
integrity sha512-zbi6biUmkjUMOyCjYCtpQKQrB/x9UWJGMN9WS9n/3PIRmC8GjgaJT0mWGrXgrZWhLPXaOp72r9laAfhLXOQnIQ==
2405-
24062401
bs-platform@^4.0.18:
24072402
version "4.0.18"
24082403
resolved "https://registry.yarnpkg.com/bs-platform/-/bs-platform-4.0.18.tgz#d17b8693ba1f714d9b27e0ddb365f2069ba4b8a0"
24092404
integrity sha512-BwzW0iYHvREqUZIgQxJmdJrxexppLvJxYQ4LLexbhCp7uZU5DIZ5ub4ZHpkCkc8fn8bsXWc+Rrejb3csi+BoAQ==
24102405

2406+
bs-platform@^5.0.1:
2407+
version "5.0.1"
2408+
resolved "https://registry.yarnpkg.com/bs-platform/-/bs-platform-5.0.1.tgz#0e7a50a1b51896d3ff4e1df6e79d32530ba062f5"
2409+
integrity sha512-k3b0G9JIlavtooyQukQNCyhnE6p400vR4Nx3pdKwQpo4xlnOrUOeHV+9TBj/XAuSRRDOOgw2H57iGTCPpLxjMg==
2410+
24112411
bser@^2.0.0:
24122412
version "2.0.0"
24132413
resolved "https://registry.yarnpkg.com/bser/-/bser-2.0.0.tgz#9ac78d3ed5d915804fd87acb158bc797147a1719"
@@ -7691,9 +7691,10 @@ reason-react@^0.6.0:
76917691
react ">=15.0.0 || >=16.0.0"
76927692
react-dom ">=15.0.0 || >=16.0.0"
76937693

7694-
"reason-react@https://github.com/reasonml/reason-react.git#hooks":
7695-
version "0.6.0"
7696-
resolved "https://github.com/reasonml/reason-react.git#688bf4e1194d34be96de32fc897189bc59223d2a"
7694+
reason-react@^0.7.0:
7695+
version "0.7.0"
7696+
resolved "https://registry.yarnpkg.com/reason-react/-/reason-react-0.7.0.tgz#46a975c321e81cd51310d7b1a02418ca7667b0d6"
7697+
integrity sha512-czR/f0lY5iyLCki9gwftOFF5Zs40l7ZSFmpGK/Z6hx2jBVeFDmIiXB8bAQW/cO6IvtuEt97OmsYueiuOYG9XjQ==
76977698
dependencies:
76987699
react ">=16.8.1"
76997700
react-dom ">=16.8.1"

0 commit comments

Comments
 (0)