- fixed: Add back missing Flow type exports.
- added: Provide TypeScript type definitions.
- Fix a bug where
mapPixies
wasn't removing the outputs for its destroyed children.
- Reject the
waitFor
promise if the condition function throws. - Improve Flow types.
- Fix a failing unit test, and make tests mandatory for committing.
- Fix a condition where
waitFor
would miss updates.
- Fix the build to work on React Native
- Provide default output, so the output tree structure is intact even at startup.
- Fix an infinite loop in
mapPixie
- Folded the
oneShotPixie
functionality intotamePixie
, so all pixies can access their latest props without waiting forupdate
. - Added
isPixieShutdownError
, so pixies can determine if anextProps
orwaitFor
promise was rejected on shutdown. - Improved flow typings.
- Complete re-write, which allows:
- Props type-checking
- Outputs passed between pixies
- Fine-grained error handling
- Fine-grained props handling
- No more distinction between props and context
- Subscribing to prop changes
Known issue: When nesting pixies using combinePixies
or mapPixies
,
the props.output
will sometimes be undefined
when starting up,
since the structural pixies haven't had a chance to output their maps yet.
- Initial experimental release