Skip to content

Commit 5709e24

Browse files
Merge branch 'next' of https://github.com/cerebral/overmind into next
2 parents 2a63d72 + ddbcab6 commit 5709e24

File tree

2 files changed

+9
-9
lines changed
  • packages/overmind-website

2 files changed

+9
-9
lines changed

packages/overmind-website/examples/guide/runningsideeffects/object.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const api = {
2323
code: `
2424
import axios from 'axios'
2525
26-
export const http = {
26+
export const api = {
2727
async getCurrentUser() {
2828
const response = await axios.get('/user')
2929

packages/overmind-website/src/components/FrontPage/index.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const FrontPage: SFC = () => {
5050
<strong>Note!</strong> Overmind is currently in release candidate
5151
and is being evaluated for production. Please join us and battle
5252
test. We are committed to nail any last bugs and optimizations
53-
required
53+
required.
5454
</div>
5555
</div>
5656
<div
@@ -64,7 +64,7 @@ const FrontPage: SFC = () => {
6464
<p>
6565
Building your application as a single state tree is the most
6666
straight forward mental model. You get a complete overview, but
67-
can still organize the state by namespacing it into domains
67+
can still organize the state by namespacing it into domains.
6868
</p>
6969
</div>
7070
<div>
@@ -99,7 +99,7 @@ h(Example, { name: "frontpage/effects" })
9999
Separate 3rd party APIs and logic not specific to your
100100
application by using <strong>effects</strong>. This will keep
101101
your application logic pure and without low level APIs
102-
cluttering your code
102+
cluttering your code.
103103
</p>
104104
</div>,
105105
][viewport.isMobile ? 'reverse' : 'slice']()}
@@ -113,10 +113,10 @@ h(Example, { name: "frontpage/effects" })
113113
<div>
114114
<h2>SAFE AND PREDICTABLE CHANGES</h2>
115115
<p>
116-
When you build applications that performs many state changes
116+
When you build applications that perform many state changes
117117
things can get out of hand. In Overmind you can only perform state
118118
changes from <strong>actions</strong> and all changes are tracked
119-
by the development tool
119+
by the development tool.
120120
</p>
121121
</div>
122122
<div>
@@ -148,10 +148,10 @@ h(Example, { name: "frontpage/operators" })
148148
<div key="1">
149149
<h2>FUNCTIONAL ACTIONS</h2>
150150
<p>
151-
When pieces of logic becomes complex it is beneficial to write
151+
When pieces of logic become complex it is beneficial to write
152152
functional code. Overmind provides an API named{' '}
153153
<strong>operators</strong> which gives you functional power as
154-
simple actions
154+
simple actions.
155155
</p>
156156
</div>,
157157
][viewport.isMobile ? 'reverse' : 'slice']()}
@@ -168,7 +168,7 @@ h(Example, { name: "frontpage/operators" })
168168
Bring in your application configuration of state, effects and
169169
actions. Create mocks for any effects. Take a snapshot of
170170
mutations performed in an action to ensure all intermediate states
171-
are met
171+
are met.
172172
</p>
173173
</div>
174174
<div>

0 commit comments

Comments
 (0)