You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Location.raise_errorf ~loc:pattern.ppat_loc "ReasonReact: props need to be labelled arguments.\n If you are working with refs be sure to wrap with React.forwardRef.\n If your component doesn't have any props use () or _ instead of a name."
652
655
(* let make = {let foo = bar in (~prop) => ...} *)
"Make sure to use labeled arguments for props, if your component doesn't take any props use () or _ instead of a name as your argument"
410171
+
if (hasApplication.contents) then
410172
+
((fun a -> a), false, unerasableIgnoreExp expression)
410173
+
else
410174
+
Location.raise_errorf ~loc:pattern.ppat_loc "ReasonReact: props need to be labelled arguments.\n If you are working with refs be sure to wrap with React.forwardRef.\n If your component doesn't have any props use () or _ instead of a name."
410172
410175
(* let make = {let foo = bar in (~prop) => ...} *)
0 commit comments