Skip to content

2.0.0-alpha.5

Pre-release
Pre-release
Compare
Choose a tag to compare
@okwolf okwolf released this 26 Apr 03:26

Breaking changes

Removed BatchFx since Hyperapp v2 supports parallel FX.

Here's how to update your code:

// Before
import { BatchFx } from "hyperapp-fx"

const BatchedAction = state => [
  state,
  BatchFx(
    Effect1,
    Effect2,
    // ...
  )
]

// After
const BatchedAction = state => [
  state,
  Effect1,
  Effect2,
  // ...
]