Skip to content

Commit

Permalink
GitBook: [master] 2 pages modified
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej authored and gitbook-bot committed Apr 19, 2020
1 parent 7880bdf commit fde947e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/api/evt/use-effect.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const evtText = Evt.create("foo");

Evt.useEffect(
text=> console.log(text),
evtText.evtChange.statefulPipe(ctx)
evtText.evtChange.pipe(ctx)
); // Pints "foo"

evtText.state= "bar"; // Prints "bar"
Expand Down
2 changes: 1 addition & 1 deletion docs/api/statefulevt.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const evtIsBigAndBlue = Evt.merge([
evtIsBig.evtChange
])
.toStateful()
.statefulPipe(()=> [ evtIsBlue.state && evtIsBig.state ])
.pipe(()=> [ evtIsBlue.state && evtIsBig.state ])
;

console.log(evtIsBigAndBlue.state); // Prints "false"
Expand Down

0 comments on commit fde947e

Please sign in to comment.