Skip to content

Instantly share code, notes, and snippets.

@arminyahya
Created July 5, 2019 03:36
Show Gist options
  • Save arminyahya/67bc57b04db5598a26b9abcd38d2d2fc to your computer and use it in GitHub Desktop.
Save arminyahya/67bc57b04db5598a26b9abcd38d2d2fc to your computer and use it in GitHub Desktop.
loginformstate first look
import { FormState, FieldState } from 'formstate';
export default class LoginFormState {
username = new FieldState('');
password = new FieldState('');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment