{"_id":"560e3d63c1873e17005a26c8","version":{"_id":"56000f0e8c0c9d0d00dcad24","project":"56000f0d8c0c9d0d00dcad21","__v":13,"createdAt":"2015-09-21T14:07:10.176Z","releaseDate":"2015-09-21T14:07:10.176Z","categories":["56000f0e8c0c9d0d00dcad25","56008f2497f69f1700f21a36","560091601503430d007cc936","560e0d8054af2b0d005bbe92","560e3ce7ad6b200d00ff471c","560e3cf2c4e4ae0d00b42ed1","561c81d0e822e12b00e1fe00","561c81e9e822e12b00e1fe01","561c823d20b4a92b007d5147","56257f8951bf1c0d001f660a","562d5f165bd25e0d0054dbd4","562d68d5d38b650d0044472a","56421aebb0dc090d00f88438"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"56000f0e8c0c9d0d00dcad25","pages":["56000f0f8c0c9d0d00dcad27","560e3d55c4e4ae0d00b42ed2","560e3d63c1873e17005a26c8","560e3d7ec1873e17005a26ca","560e3d8fcac9dc0d007af7b7","5613396904683b0d0087bd73","56240619d51d480d0064fcc9"],"project":"56000f0d8c0c9d0d00dcad21","version":"56000f0e8c0c9d0d00dcad24","__v":7,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-09-21T14:07:10.742Z","from_sync":false,"order":0,"slug":"prologue","title":"Prologue"},"githubsync":"","project":"56000f0d8c0c9d0d00dcad21","__v":20,"user":"5600910981a9670d006d144f","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-10-02T08:16:35.942Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":2,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Upgrading to space:flux 0.6.0 from space:ui 5.3.0\"\n}\n[/block]\n**Switch packages**\n`meteor remove space:ui`\n`meteor add space:flux`\n\n**Find and replace**\n- Space.ui -> Space.flux\n- Space.ui.createEvents -> Space.flux.defineEvents\n\n**Replace Mediators and standard 'template managers' with Blaze Components** \n\n**Move all state from existing components into Stores**\nIf the data source is already reactive, just create a method on the object\nIf not, add it to the `reactiveVars` or `sessionVars` (a store scoped reactiveDict) array.\n\n**Move all Store event subscribers to the new declarative `eventSubscriptions` api**","excerpt":"","slug":"upgrade-guide","type":"basic","title":"Upgrade Guide"}
[block:api-header] { "type": "basic", "title": "Upgrading to space:flux 0.6.0 from space:ui 5.3.0" } [/block] **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**