biff icon indicating copy to clipboard operation
biff copied to clipboard

Biff vs McFly

Open coderdave opened this issue 10 years ago • 4 comments

So what's the difference between the two? Was Biff created simply so it can live under FormidableLabs? Will McFly continue to be maintained or is Biff now preferable?

coderdave avatar Apr 08 '15 19:04 coderdave

+1

xpepermint avatar Apr 11 '15 16:04 xpepermint

BIff is set up a little bit differently. I wanted to create a fork of McFly where I could make changes without messing with the API for current users of McFly. McFly will continue to be updated and maintained.

The core differences are:

  • Biff doesn't implicitly dispatch from action creators like McFly does. It requires users to explicitly call this.dispatch. This removes the need for action creators to return promise objects
  • Biff adds async state helpers like pending and errors to keep track of the current state of a store, for things like async adds and optimistic updates.

kenwheeler avatar Apr 13 '15 12:04 kenwheeler

so are you thinking that biff will eventually merge back into McFly once some of the tinkerings have proven their value?

LongLiveCHIEF avatar Apr 19 '15 19:04 LongLiveCHIEF

Not super likely due to major API changes. If it happens though, it'll be a major version bump. That said, McFly will progress in its own trajectory, likely replacing promises with async/await, getting a higher order flux component, and managing events a bit differently.

kenwheeler avatar Apr 19 '15 19:04 kenwheeler