File tree Expand file tree Collapse file tree 5 files changed +14
-9
lines changed Expand file tree Collapse file tree 5 files changed +14
-9
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ let eventTargetValue = event => {
2
+ let target = event -> ReactEvent .Form .target
3
+ // ReactDOM.domElementToObj(target)["value"]
4
+ target ["value" ]
5
+ }
Original file line number Diff line number Diff line change 7
7
}
8
8
],
9
9
"bs-dependencies" : [
10
- " reason-react" ,
11
- " bs-react-on-rails"
10
+ " @rescript/react"
12
11
],
13
12
"reason" : {
14
- "react-jsx" : 2
13
+ "react-jsx" : 3
15
14
},
16
- "refmt" : 3 ,
17
15
"bsc-flags" : [" -bs-super-errors" ],
18
16
"suffix" : " .bs.js" ,
19
17
"package-specs" : {
20
- "module" : " commonjs " ,
18
+ "module" : " es6 " ,
21
19
"in-source" : true
22
20
}
23
21
}
Original file line number Diff line number Diff line change 9
9
"dependencies" : {
10
10
"@babel/preset-react" : " ^7.16.7" ,
11
11
"@rails/webpacker" : " 6.0.0-rc.6" ,
12
+ "@rescript/react" : " 0.10.3" ,
12
13
"babel-plugin-macros" : " ^3.1.0" ,
13
14
"babel-plugin-transform-react-remove-prop-types" : " ^0.4.24" ,
14
15
"css-loader" : " ^6.5.1" ,
Original file line number Diff line number Diff line change 1024
1024
webpack-merge "^5.8.0"
1025
1025
webpack-sources "^3.2.1"
1026
1026
1027
+ " @rescript/react@0.10.3 " :
1028
+ version "0.10.3"
1029
+ resolved "https://registry.yarnpkg.com/@rescript/react/-/react-0.10.3.tgz#a2a8bed6b017940ec26c2154764b350f50348889"
1030
+ integrity sha512-Lf9rzrR3bQPKJjOK3PBRa/B3xrJ7CqQ1HYr9VHPVxJidarIJJFZBhj0Dg1uZURX+Wg/xiP0PHFxXmdj2bK8Vxw==
1031
+
1027
1032
" @trysound/sax@0.2.0 " :
1028
1033
version "0.2.0"
1029
1034
resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad"
You can’t perform that action at this time.
0 commit comments