Skip to content

When run-time isn't early enough, do it at build-time

Compare
Choose a tag to compare
@alexlafroscia alexlafroscia released this 07 Oct 23:21
· 912 commits to master since this release
  • Introduces a HTMLBars transform to ensure that every step has a name, and that the step-manager always has an initial value. This prevents the case where the steps are registered at runtime, but too late in the rendering process to be able to update the parent without causing double-updates. With this build-time assistance, all of the required information exists on the first render, alleviating the previous issue of the render not finishing until the second pass. This also means that Fastboot should work "out of the box", showing the initial step when it's requested.
  • Dropped the ability to access an array of step names; this will also have to be determined at build time (see the double-update problem mentioned above) and it just not an immediate priority.
  • Adds the ability to revert back to the initial step when binding the currentStep to a query param.