From 356bac6fb6fd76ed713866eae764f550c9866647 Mon Sep 17 00:00:00 2001 From: ykforerlang <1527997464@qq.com> Date: Tue, 29 Oct 2019 18:42:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(alita):=20=E4=BF=AE=E5=A4=8D=20=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=20render=20null=20=E6=B2=A1=E6=9C=89jsx=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E7=9A=84=E6=97=B6=E5=80=99=20=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/util/uast.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/uast.js b/src/util/uast.js index 78c70c2..d0fa6c0 100644 --- a/src/util/uast.js +++ b/src/util/uast.js @@ -120,6 +120,7 @@ export function getFileInfo(ast) { ClassDeclaration: path => { const sc = path.node.superClass isClassComp = isReactComponent(sc) + isRF = true }, JSXOpeningElement: path => {