angular-cn/tools
Alex Rickabaugh 88bc143431 fix: app ids for better <style> management for ssr (#14632)
Currently styles are rendered to the root component element, which ensures they're cleaned up automatically
when the client application is bootstrapped. This is less than ideal as progressive rendering can cause HTML
to be rendered before the CSS is loaded, causing flicker.

This change returns to rendering <style> elements in the <head>, and introduces a mechanism for removing
them on client bootstrap. This relies on associating the server and client bootstrap. Another way to think
of this is that the client, when bootstrapping an app, needs to know whether to expect a server rendered
application exists on the page, and to identify the <style> elements that are part of that app in order
to remove them.

This is accomplished by providing a string TRANSITION_ID on both server and client. For most applications,
this will be achieved by writing a client app module that imports BrowserModule.withServerTransition({appId: <id>}).
The server app module will import this client app module and therefore inherit the provider for
TRANSITION_ID. renderModule[Factory] on the server will validate that a TRANSITION_ID has been provided.
2017-02-22 16:06:21 -08:00
..
@angular/tsc-wrapped fix(tsc-wrapped): use agreed on options names (#14630) 2017-02-22 10:57:01 -08:00
build chore(build): remove unused build/util 2016-11-07 10:32:00 -08:00
cjs-jasmine docs(Location): updating Location docs and adding example 2016-12-12 11:19:21 -08:00
code.angularjs.org build(publish): remove unneeded add-license-to-rx (#12734) 2016-11-10 15:56:14 -08:00
gulp-tasks refactor(animations): support browser animation rendering (#14578) 2017-02-22 15:14:49 -08:00
karma refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
npm chore(npm): clean up clean-shrinkwrap script 2016-10-31 11:26:59 -07:00
public_api_guard fix: app ids for better <style> management for ssr (#14632) 2017-02-22 16:06:21 -08:00
travis refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
tree-shaking-test refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
tsc-watch refactor(compiler): drop old codegen tests that run inside of `test.sh` 2016-11-28 15:19:23 -08:00
tslint fix: build and test fixes for TS 2.1 (#13294) 2017-02-08 11:32:40 -06:00
validate-commit-message fix: validation messages support animations scope 2017-02-10 19:05:00 -06:00
check-environment.js docs: branding fixes (#14132) 2017-01-27 15:03:11 -06:00
chromedriverpatch.js refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
jsconfig.json
tsconfig.json build(aio): move doc-gen stuff from angular.io (#14097) 2017-01-26 23:46:59 -08:00
types.d.ts fix(fakeAsync): have fakeAsync use Proxy zone. (#10797) 2016-08-19 12:10:53 -07:00
utils.inc