Skip to content

Commit 284ee39

Browse files
fakenickelslozlow
andcommitted
breaking: support jsx4
Co-authored-by: Gabriel <[email protected]> Co-authored-by: Pete Shaw <[email protected]>
1 parent 90cd75c commit 284ee39

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

packages/reform/bsconfig.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/rescript-lang/rescript-compiler/master/docs/docson/build-schema.json",
32
"name": "@rescriptbr/reform",
4-
"reason": { "react-jsx": 3 },
5-
"refmt": 3,
3+
"jsx": { "version": 4 },
64
"bs-dependencies": [
75
"@rescript/react",
86
"@rescriptbr/reschema",

packages/reform/src/ReForm.res

-5
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,6 @@ module Make = (Config: Config) => {
141141
}
142142

143143
module Provider = {
144-
let makeProps = (~value, ~children, ()) =>
145-
{
146-
"value": Some(value),
147-
"children": children,
148-
}
149144
let make = React.Context.provider(formContext)
150145
}
151146

0 commit comments

Comments
 (0)