Skip to content

Commit

Permalink
update readme -- no longer needed after 10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
remackgeek committed Jan 23, 2021
1 parent a4cf7c8 commit 44236d9
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 25 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ This library provides an Angular Elements Strategy Factory which always runs in

![license](https://img.shields.io/npm/l/elements-zone-strategy.svg) ![downloads](https://img.shields.io/npm/dt/elements-zone-strategy.svg)

<span style="font-size:24px;font-weight:bold">This library is no longer needed for Angular versions 10.1 and above!</span>

see: [here](https://github.com/angular/angular/pull/37814)

This addresses the following issues with @angular/elements:

- [#23841 - elements: change detection breaks in \*ngFor loop](https://github.com/angular/angular/issues/23841)
- [#23841 - elements: change detection breaks in \*ngFor loop](https://github.com/angular/angular/issues/23841) -- this is fixed in angular 10.1.0
- [#24181 - @angular/elements component events are called from an inconsistent zone](https://github.com/angular/angular/issues/24181) -- This is fixed in zone.js v0.8.27

## Usage
Expand All @@ -25,7 +29,9 @@ use the new strategy:

## Versions

use version 10.0.0 for Angular 10
Not needed in Angular 11

use version 10.0.0 for Angular 10 (not needed as of 10.1)

use version 9.0.0 for Angular 9

Expand Down
10 changes: 8 additions & 2 deletions projects/elements-zone-strategy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ This library provides an Angular Elements Strategy Factory which always runs in

![license](https://img.shields.io/npm/l/elements-zone-strategy.svg) ![downloads](https://img.shields.io/npm/dt/elements-zone-strategy.svg)

<span style="font-size:24px;font-weight:bold">This library is no longer needed for Angular versions 10.1 and above!</span>

see: [here](https://github.com/angular/angular/pull/37814)

This addresses the following issues with @angular/elements:

- [#23841 - elements: change detection breaks in \*ngFor loop](https://github.com/angular/angular/issues/23841)
- [#23841 - elements: change detection breaks in \*ngFor loop](https://github.com/angular/angular/issues/23841) -- this is fixed in angular 10.1.0
- [#24181 - @angular/elements component events are called from an inconsistent zone](https://github.com/angular/angular/issues/24181) -- This is fixed in zone.js v0.8.27

## Usage
Expand All @@ -25,7 +29,9 @@ use the new strategy:

## Versions

use version 10.0.0 for Angular 10
Not needed in Angular 11

use version 10.0.0 for Angular 10 (not needed as of 10.1)

use version 9.0.0 for Angular 9

Expand Down
43 changes: 22 additions & 21 deletions projects/elements-zone-strategy/package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
{
"name": "elements-zone-strategy",
"version": "10.0.0",
"description": "A custom NgElementStrategyFactory to enable zone-based change detection for Angular Elements",
"author": "remackgeek",
"license": "MIT",
"peerDependencies": {
"@angular/common": "^10.0.0",
"@angular/core": "^10.0.0",
"@angular/elements": " ^10.0.0"
},
"repository": "github:remackgeek/elements-zone-strategy",
"homepage": "https://github.com/remackgeek/elements-zone-strategy",
"keywords": [
"angular",
"elements",
"zone.js",
"ngZone",
"zone"
],
{
"name": "elements-zone-strategy",
"version": "10.0.1",
"description": "A custom NgElementStrategyFactory to enable zone-based change detection for Angular Elements",
"author": "remackgeek",
"license": "MIT",
"peerDependencies": {
"@angular/common": "^10.0.0",
"@angular/core": "^10.0.0",
"@angular/elements": " ^10.0.0"
},
"repository": "github:remackgeek/elements-zone-strategy",
"homepage": "https://github.com/remackgeek/elements-zone-strategy",
"keywords": [
"angular",
"elements",
"zone.js",
"ngZone",
"zone"
]
,
"dependencies": {
"tslib": "^2.0.0"
}
}
}

0 comments on commit 44236d9

Please sign in to comment.