Skip to content

Commit 30c4f7c

Browse files
committed
Rename ReasonReact modules to RescriptReact
1 parent 2e81fc6 commit 30c4f7c

6 files changed

+4
-4
lines changed
File renamed without changes.

src/ReasonReactRouter.res renamed to src/RescriptReactRouter.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ let safeMakeEvent = eventName =>
4343
event
4444
}
4545

46-
/* This is copied from array.ml. We want to cut dependencies for ReasonReact so
46+
/* This is copied from array.ml. We want to cut dependencies for rescript-react so
4747
that it's friendlier to use in size-constrained codebases */
4848
let arrayToList = a => {
4949
let rec tolist = (i, res) =>
File renamed without changes.

test/React__test.res

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ describe("React", ({test, beforeEach, afterEach}) => {
462462

463463
act(() =>
464464
ReactDOM.render(
465-
<ReasonReactErrorBoundary
465+
<RescriptReactErrorBoundary
466466
fallback={({error, info}) => {
467467
switch error {
468468
| ComponentThatThrows.TestError => ()
@@ -473,7 +473,7 @@ describe("React", ({test, beforeEach, afterEach}) => {
473473
<strong> {"An error occured"->React.string} </strong>
474474
}}>
475475
<ComponentThatThrows value=1 />
476-
</ReasonReactErrorBoundary>,
476+
</RescriptReactErrorBoundary>,
477477
container,
478478
)
479479
)

test/ReactRouter__test.res renamed to test/RescriptReactRouter__test.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
open TestFramework
2-
open ReasonReactRouter
2+
open RescriptReactRouter
33

44
describe("it allows to create url from string", ({test}) => {
55
test("it supports basic paths", ({expect}) => {

0 commit comments

Comments
 (0)