Stone.js API
    Preparing search index...
    • Resolve a route into the pieces a renderer displays.

      This is the whole page pipeline, and it is the same on every platform: resolve the component the route names, run its loader, merge the layout's head with the page's, let the view hooks run, then build the two component shapes. Nothing here decides where the result goes.

      It lives in this package rather than in each renderer because there is exactly one correct order for these steps, and having it written twice would mean every change to it having to be made twice, in two packages, correctly.

      Parameters

      Returns Promise<PreparedPage>

      The pieces to display.