Kendo-angular: Notice: Compataibility issues with RxJS 6.3.x

Created on 3 Dec 2018  路  1Comment  路  Source: telerik/kendo-angular

Symptoms

Starting with v6.3.0 of rxjs and rxjs-compat, you may experience run-time errors or incorrect behavior. These are caused by failing instanceof checks for Observable due to https://github.com/ReactiveX/rxjs/issues/4070

For example, the Grid - Confirmation Dialog on Row Removal sample will not work. Many other scenarios could also be affected.

Workaround

There are two suggested workarounds:

A) Override TypeScript compiler options

Use the approach suggested by @s25g5d4 in the upstream issue.
Add the path section below to compilerOptions in src/tsconfig.app.json:

{
    "compilerOptions": {
        "paths": {
            "rxjs/internal/Observable": [
                "../node_modules/rxjs/_esm5/internal/Observable"
            ]
        }
    }
}

B) Pin RxJS version at 6.2.x

You can lock your application to the unaffected 6.2.x version of rxjs by issuing the following command:

npm install --save [email protected] [email protected]

Solution

We're considering the possibilities for a permanent fix and will post updates.

Most helpful comment

Fixed in rxjs v6.4.0 with https://github.com/ReactiveX/rxjs/issues/4070.
Please note that current versions of rxjs require TypeScript 2.8 or later.

>All comments

Fixed in rxjs v6.4.0 with https://github.com/ReactiveX/rxjs/issues/4070.
Please note that current versions of rxjs require TypeScript 2.8 or later.

Was this page helpful?
0 / 5 - 0 ratings