Skip to content

Commit 39038b4

Browse files
committed
Fix README typo
1 parent 645b585 commit 39038b4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,11 @@ const reducer = reducerWithoutInitialState<State>()
214214
Starts a builder-chain which produces a "reducer" whose return type is a
215215
supertype of the input state. This is most useful for handling a state which may
216216
be in one of several "modes", each of which responds differently to actions and
217-
can transition to the other modes. Many programs will not have a use for this.
217+
can transition to the other modes. Many applications will not have a use for
218+
this.
218219

219220
Note that the function produced is technically not a reducer because the initial
220-
and updated states are different type.
221+
and updated states are different types.
221222

222223
Example usage:
223224

@@ -344,8 +345,8 @@ Produces a reducer which applies `handler` when no previously added `.case()`,
344345
the same as [`.build()`](#build), because it is not intended that the chain be
345346
mutated after calling `.default()`.
346347

347-
This is useful if you need a "delegate" reducer should be called on any action
348-
after handling a few specific actions in the parent.
348+
This is useful if you have a "delegate" reducer that should be called on any
349+
action after handling a few specific actions in the parent.
349350

350351
```ts
351352
const NESTED_STATE = {

0 commit comments

Comments
 (0)