A jumping off point for Flight mixins, where we'll manage official mixin development and provide resources on how to use them to the full.
Currently we have four official mixins, all hosted under the FlightJS org on GitHub. Please submit an issue if you think you have one to be added.
- with-child-components for nesting components, making sure that a component and its children are torn down together.
- with-state for storing and reacting to change in a component's internal state.
- with-batch for efficiently batching function calls into animation frames, particularly useful for coalescing DOM updates.
- with-resources for sharing named resources between components.
- with-observable-state for exposing the state created by with-state as an observable sequence (using RxJS)
- with-observe helps manage subscribe/dispose of observables (using RxJS) within the context of component lifecycle.
We have mixins at various stages of development. Please see individual repository issues to contribute code or documentation.
- with-event-proxy for proxying events and transforming event data. This is intended to replace the event proxy features which have been removed from core in Flight 2.