You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first code example keeps incomplete or invalid numeric input such as 234. as the state of the <input /> field, while the second code example resets it to an empty input. It is important to note that the behavior of frameworks may be different and this code example is likely ported from our SolidJS docs.
The first code example keeps incomplete or invalid numeric input such as 234. as the state of the <input /> field, while the second code example resets it to an empty input. It is important to note that the behavior of frameworks may be different and this code example is likely ported from our SolidJS docs.
Yeah, I know. What I meant is that I originally wrote it for SolidJS and just copied it over to the React docs. Maybe the behavior of React is different here.
What are the differences between the two versions of the code below?
The text was updated successfully, but these errors were encountered: