Closed caumeira closed 1 year ago
Fixes #40
When using textContent instead of value prop, and the element is removed from the dom, useValue sets and returns undefined until the input is empty again. I added the test to prove the problem.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Fixes #40
When using textContent instead of value prop, and the element is removed from the dom, useValue sets and returns undefined until the input is empty again. I added the test to prove the problem.