Skip to content

Commit 0af7536

Browse files
committed
Added TODO
1 parent c195e3c commit 0af7536

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/core/js_dump.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,6 +1105,8 @@ and print_indented_list (f : P.t) (parent_expr_level : int) (cxt : cxt)
11051105
and print_jsx cxt ?(spread_props : J.expression option)
11061106
?(key : J.expression option) ~(level : int) f (fnName : string)
11071107
(tag : J.expression) (fields : (string * J.expression) list) : cxt =
1108+
(* TODO: make fragment detection respect custom JSX runtime modules instead of
1109+
assuming "JsxRuntime". *)
11081110
let is_fragment =
11091111
match tag.expression_desc with
11101112
| J.Var (J.Qualified ({id = {name = "JsxRuntime"}}, Some "Fragment")) ->

0 commit comments

Comments
 (0)