Newstack v0.0.64
Changelog
0.0.64
CDN / mount() improvements
- Auto-hashing: Components without a
static hashare now automatically assigned a hash at setup time. No need to manually declarestatic hash = "..."when using Newstack via CDN ormount(). - Route params in
prepare():context.paramsis now correctly populated beforeprepare()runs when usingmount(). Previously, params were only available during rendering, making them inaccessible in thepreparelifecycle. - Child lifecycle on
mount():prepare()andhydrate()are now called on all visible child components when usingmount(), not just the root component. - Route params on navigation:
context.paramsis now re-extracted beforeprepare()is called on route changes when usingmount(). context.router.pathon initial load: Fixedcontext.router.pathbeingundefinedon the initial render when usingmount()without a server.
Full Changelog: create-newstack-app-v0.0.27...newstack-v0.0.64