VoliJS / NestedLink

Callback-free React forms with painless validation.
MIT License
194 stars 25 forks source link

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

Open cervmi opened 4 years ago

cervmi commented 4 years ago

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?