angular/packages/core
Alan Agius 82d6fbb109 refactor(core): generate a static application ID (#49422)
Prior to this change, a random application ID was generated each time which forced users using server rendering to provide an application ID themselves. This was needed to handle rare cases when multiple Angular applications are rendered on the same page.

With this change the application ID is no longer generated randomly and instead it is hard coded.

BREAKING CHANGE:

The `APP_ID` token value is no longer randomly generated. If you are bootstrapping multiple application on the same page you will need to set to provide the `APP_ID` yourself.

```ts
bootstrapApplication(ComponentA, {
  providers: [
   { provide: APP_ID, useValue: 'app-a' },
   // ... other providers ...
  ]
});
```

PR Close #49422
2023-03-15 17:08:17 -07:00
..
global build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
schematics refactor(migrations): Move ChangeTracker to common utils (#49308) 2023-03-03 22:03:37 +00:00
src refactor(core): generate a static application ID (#49422) 2023-03-15 17:08:17 -07:00
test refactor(core): generate a static application ID (#49422) 2023-03-15 17:08:17 -07:00
testing refactor(core): move Zone providers to a single provider function (#49373) 2023-03-14 09:20:53 -07:00
BUILD.bazel refactor(core): prototype of signals, a reactive primitive for Angular (#49091) 2023-02-21 14:13:08 -08:00
index.ts refactor(core): made comment structure consistent in index.ts (#43684) 2021-10-21 18:39:58 +00:00
package.json feat(core): drop support for zone.js versions <=0.12.0 (#49331) 2023-03-07 19:12:22 +00:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00