Skip to content

Commit d75d148

Browse files
committed
update stale comment and deprecation
1 parent c3e9848 commit d75d148

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/ReactDOM.res

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2129,9 +2129,8 @@ external jsxs: (string, JsxDOM.domProps) => Jsx.element = "jsxs"
21292129
@module("react/jsx-runtime")
21302130
external jsxsKeyed: (string, JsxDOM.domProps, string) => Jsx.element = "jsxs"
21312131

2132-
// Used by the ppx to generate primitive components like "div".
2133-
// Intentionally unsafe because typechecking is enforced by the ppx.
2134-
@deprecated("Please use JSX syntax directly.")
2132+
// Currently, not used by JSX ppx
2133+
@deprecated("Please use ReactDOM.createElement instead.")
21352134
external stringToComponent: string => React.component<'a> = "%identity"
21362135

21372136
module Style = ReactDOMStyle

0 commit comments

Comments
 (0)