[improvement] allow use ref in functional components (#2863)

This commit is contained in:
neverland
2019-02-27 21:15:09 +08:00
committed by GitHub
parent fde0f39ce6
commit ef06d058e6

View File

@@ -9,6 +9,7 @@ type Context = RenderContext & { data: VNodeData & ObjectIndex };
type InheritContext = Partial<VNodeData> & ObjectIndex;
const inheritKey = [
'ref',
'style',
'class',
'attrs',