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
Copy file name to clipboardExpand all lines: README.md
+19-31Lines changed: 19 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,9 +33,9 @@ Building your application with a single state tree is the most straight forward
33
33
Separate 3rd party APIs and logic not specific to your application by using **effects**. This will keep your application logic pure and without low level APIs cluttering your code.
When you build applications that perform many state changes things can get out of hand. In Overmind you can only perform state changes from **actions** and all changes are tracked by the development tool.
this.validationError='You need some numbers in your password'
143
135
}
@@ -148,11 +140,7 @@ class LoginForm() {
148
140
}
149
141
}
150
142
151
-
typeState= {
152
-
loginForm: LoginForm
153
-
}
154
-
155
-
exportconststate: State= {
143
+
exportconststate= {
156
144
loginForm:newLoginForm()
157
145
}
158
146
```
@@ -163,7 +151,7 @@ export const state: State = {
163
151
164
152
Bring in your application configuration of state, effects and actions. Create mocks for any effects. Take a snapshot of mutations performed in an action to ensure all intermediate states are met.
0 commit comments