From ef06d058e62c16439b50ff86edf70128a928715c Mon Sep 17 00:00:00 2001 From: neverland Date: Wed, 27 Feb 2019 21:15:09 +0800 Subject: [PATCH] [improvement] allow use ref in functional components (#2863) --- packages/utils/functional.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/utils/functional.ts b/packages/utils/functional.ts index 9493ca676..2ecf3e291 100644 --- a/packages/utils/functional.ts +++ b/packages/utils/functional.ts @@ -9,6 +9,7 @@ type Context = RenderContext & { data: VNodeData & ObjectIndex }; type InheritContext = Partial & ObjectIndex; const inheritKey = [ + 'ref', 'style', 'class', 'attrs',