angular4 - angular 4 and ng-template -


i'm getting warning:

the <template> element deprecated. use <ng-template> instead ("         [attr.tabindex]="-1"         [ngclass]="{'k-item': true}">         [warning ->]<template *ngif="template"             [templatecontext]="{ 

when using angular 4, being taken care of release version?

thanks

you need take care of that. need modify code , change occurences of

<template> 

to

<ng-template> 

<template> caused conflicts other usages of <template> tag, therefore angular team changed use <ng-template> angular purposes. it's breaking change, therefore didn't introduce change in angular2 in angular4 according semantic versioning rules.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -