Skip to content

Updating from 0.X.X to 1.0.0

Cassio Zen edited this page Jun 14, 2021 · 2 revisions

Version 1.0 introduces some breaking changes in the API for effects and guards:

  • Both functions receive a single object with multiple keys instead of multiple parameters.
  • Effects now receive the context.
  • The context updater function inside effect is now called setContext instead of update.

Here's a diff between the fetch example on versions 0.x.x and 1.0.0:

Screen Shot 2021-06-14 at 10 19 43 AM
Clone this wiki locally