Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ssr): enhance support for Universal and SSR with stylesheets #567

Closed
wants to merge 1 commit into from

Commits on Feb 17, 2018

  1. feat(ssr): enhance support for Universal and SSR with stylesheets

    * Add `StyleService` class to manage application and retrieval of styles from elements in a
      platform-agnostic manner
    * Add virtual stylesheet to store server styles, which applies default styles when breakpoint
      overrides are not present
    * While not in the browser (ssr), intercept all style calls and reroute them to the virtual
      stylesheet.
    * For server-side rendering, add a new type of MediaQueryList similar to the MockMediaQueryList
      to support manual activation/deactivation of breakpoints
    * Add jasmine testing mode for SSR
    * Add FlexLayoutServerModule to invoke SSR styling
    * Remove unnecessary Renderer references and replace them with DOM APIs
    * Add whitespace debugging mode for server styles
    
    Fixes #373.
    
    > See [Design Doc](https://docs.google.com/document/d/1fg04ihw42dJJHGd6fugdiBe39iJot8aErhiE7CjwfmQ/edit#)
    CaerusKaru committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    acf7e2f View commit details
    Browse the repository at this point in the history