Skip to content

Synthetic event error when using useLink with value inicialization. #42

@cervmi

Description

@cervmi

I wrote small example:
https://codesandbox.io/s/xenodochial-colden-7pb59
When I start to type in input box, after second key is pressed, error with Synthetic event occurs.
I tried also useSafeLink, but it is not a solution.

But when I use variable to init useLink, everything works fine:
https://codesandbox.io/s/late-tree-vqlqp
Am I doing something wrong, or is it a bug?

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