File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -214,10 +214,11 @@ const reducer = reducerWithoutInitialState<State>()
214214Starts a builder-chain which produces a "reducer" whose return type is a
215215supertype of the input state. This is most useful for handling a state which may
216216be 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
219220Note 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
222223Example usage:
223224
@@ -344,8 +345,8 @@ Produces a reducer which applies `handler` when no previously added `.case()`,
344345the same as [ ` .build() ` ] ( #build ) , because it is not intended that the chain be
345346mutated 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
351352const NESTED_STATE = {
You can’t perform that action at this time.
0 commit comments