Skip to content

不支持使用useImperativeHandle向vue父组件暴露方法来获取react子组件的内部状态吗? #32

@aiyun1010

Description

@aiyun1010

vue父组件传递ref,react子组件中使用useImperativeHandle暴露方法。
在vue父组件中可以获取到react子组件实例,但无法获取到最新的react状态(只能获取到初始化时候的状态)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions