A prerelease of DoneJS 3.0 is available right now that includes the first 2 new features; CanJS 5.0 and StealJS 2.0. You can install it with:
npm install -g donejs@pre
And then create a new app:
donejs add app my-donejs3-app
Note that this will be missing a few things:
The current prerelease using the traditional full server-side rendering.
The current prerelease does not utilize constructible can-components and the new way of doing routing.
My anticipated schedule for DoneJS 3 is:
Get incremental rendering working with our core demo apps. This is what I’m currently working on. It is taking some time mainly because the http2 support in Node.js is quite a bit different from http1.
Update the generators with the new way of doing routing.
Enable incremental rendering by default.
When (2) is done I’ll create another prerelease and notify everyone here. Same for when (3) is done. I would expect DoneJS 3.0 to be releasing soon afterwards (after some last-second crossing of the i’s).
Yup! The constructible components pattern from the guide will be used in donejs 3. I’m working on updating the chat guide with what I think that will look like. I’ll post here when that’s done to get feedback (still discussing how this should work in practice).
One thing we are thinking about doing is turning the default route.data into a DefineMap so that you can do route.data.page to get the current page, for example. This would eliminate the need to do a bunch of serialize: false in you AppViewModel like people struggle with today. What do you think?
I haven’t gotten to the PMO guide yet. If you wanted to check it out and install the new version and go through it. Or update your person app or whatever and report bugs that would be nice. You have to install with npm install -g donejs@pre instead of donejs@3 for now.