Просмотр исходного кода

chore: remove outdated TODO comments

Evan You 7 лет назад
Родитель
Сommit
7350d41f92
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      packages/core/src/h.ts

+ 0 - 2
packages/core/src/h.ts

@@ -83,8 +83,6 @@ export const h = ((tag: ElementType, data: any, children: any): VNode => {
       ref
       ref
     )
     )
   } else {
   } else {
-    // TODO: handle fragment & portal types
-    // TODO: warn ref on fragment
     // component
     // component
     return createComponentVNode(
     return createComponentVNode(
       tag,
       tag,