File tree 2 files changed +1
-4
lines changed
2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 22
22
- Add shift (` << ` , ` >> ` , ` >>> ` ) operators for ` int ` and ` bigint ` . https://github.com/rescript-lang/rescript/pull/7183
23
23
- Add bitwise AND (` & ` ) operator for ` int ` and ` bigint ` . https://github.com/rescript-lang/rescript/pull/7415
24
24
- Significantly reduced the download size by splitting binaries into optional platform-specific dependencies (e.g, ` @rescript/linux-x64 ` ). https://github.com/rescript-lang/rescript/pull/7395
25
+ - JSX: do not error on ref as prop anymore (which is allowed in React 19). https://github.com/rescript-lang/rescript/pull/7420
25
26
26
27
#### :bug : Bug fix
27
28
Original file line number Diff line number Diff line change @@ -251,10 +251,6 @@ let rec recursively_transform_named_args_for_make expr args newtypes core_type =
251
251
Jsx_common. raise_error ~loc: expr.pexp_loc
252
252
" Key cannot be accessed inside of a component. Don't worry - you can \
253
253
always key a component from its parent!"
254
- | Pexp_fun {arg_label = Labelled {txt = "ref" } | Optional {txt = "ref" } } ->
255
- Jsx_common. raise_error ~loc: expr.pexp_loc
256
- " Ref cannot be passed as a normal prop. Please use `forwardRef` API \
257
- instead."
258
254
| Pexp_fun {arg_label = arg; default; lhs = pattern; rhs = expression}
259
255
when is_optional arg || is_labelled arg ->
260
256
let () =
You can’t perform that action at this time.
0 commit comments