Upgrade Guide

Upgrading to space:flux 0.6.0 from space:ui 5.3.0

Switch packages
meteor remove space:ui
meteor add space:flux

Find and replace

  • Space.ui -> Space.flux
  • Space.ui.createEvents -> Space.flux.defineEvents

Replace Mediators and standard 'template managers' with Blaze Components

Move all state from existing components into Stores
If the data source is already reactive, just create a method on the object
If not, add it to the reactiveVars or sessionVars (a store scoped reactiveDict) array.

Move all Store event subscribers to the new declarative eventSubscriptions api


Did this page help you?