Created
September 26, 2017 14:49
-
-
Save tpetrina/e89dfdae58695c2db4e15f8eb36a2492 to your computer and use it in GitHub Desktop.
React form complication 5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let registration = { | |
username: "username", | |
password: "password", | |
isRegistering: false, | |
onRegister: r => { | |
r.isRegistering = true | |
setTimeout(() => { | |
r.isRegistering = false | |
}, 2000) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment