We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c195e3c commit 0af7536Copy full SHA for 0af7536
compiler/core/js_dump.ml
@@ -1105,6 +1105,8 @@ and print_indented_list (f : P.t) (parent_expr_level : int) (cxt : cxt)
1105
and print_jsx cxt ?(spread_props : J.expression option)
1106
?(key : J.expression option) ~(level : int) f (fnName : string)
1107
(tag : J.expression) (fields : (string * J.expression) list) : cxt =
1108
+ (* TODO: make fragment detection respect custom JSX runtime modules instead of
1109
+ assuming "JsxRuntime". *)
1110
let is_fragment =
1111
match tag.expression_desc with
1112
| J.Var (J.Qualified ({id = {name = "JsxRuntime"}}, Some "Fragment")) ->
0 commit comments