Skip to content

Figure out better pattern for the replacing the initial shell with ng app #7

@robwormald

Description

@robwormald

currently the application shell (header bar, sidenav, etc) are wrapped in the root <app> tag - this basically means that once angular2 boots, the entire shell is replaced with dynamic content.

This currently works reasonably well (the changeover is mostly imperceptible) but is annoying as you have to duplicate and maintain content in two places (the app template and the index.html)

Ideas:

  • use server side rendering (duh) for initial load of shell -> cache to SW?
  • figure out a way to "project" ng2 into the static shell so that it doesn't have to be replaced at all?
  • use some server side task to re-use the app component's template to build the shell

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions