Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
icylace committed Feb 11, 2022
1 parent 0916c30 commit 1fd8178
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/architecture/actions/effects.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,11 @@ const SomeAction2: Action<State2> = (state: State2) => [
state.foo || echo3("hi"),
state.bar && echo3("there"),
]

// -----------------------------------------------------------------------------

const doSomethingFx = () => { alert("I did something") }

const JustDoSomething = (state: State2) => [state, [doSomethingFx]]

// const JustDoSomething = (state) => [state, doSomethingFx]

0 comments on commit 1fd8178

Please sign in to comment.