Skip to content

createForm 没有转发 包裹组件的 ref #532

@Yangfan2016

Description

@Yangfan2016

createForm 没有转发 包裹组件的 ref

如下代码

class Cp{

}
export const CpWithForm = createForm()(Cp);


<CpWithForm ref={this.cpRef}/>
// this.cpRef.current === null 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions