在 Angular 中使用 Ivy 的缺点? [英] downsides of using Ivy in Angular?

查看:28
本文介绍了在 Angular 中使用 Ivy 的缺点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每个人都在谈论用于 Angular 编译的 Ivy.我所听到的都是关于它的好消息.有什么缺点吗?在使用之前我应该​​注意什么?

Everyone is talking about Ivy for Angular compilation. All I have heard is good things about it. Are there any downsides? like something I should be aware of before using it?

推荐答案

bundle 的大小可能会比没有 Ivy 的情况大,而且严格的模板类型检查可能会给你带来一些问题.

Bundle sizes may be larger than without Ivy and strict template type checking may give you some problems.

这些问题应该在 9.0.0 final 中得到解决.RC 即将推出,值得一试.

Those issues should be resolved in 9.0.0 final. The RC is coming soon and is worth testing out.

-Michael Prentice(Angular 团队)

-Michael Prentice (Angular Team)

请看下面迈克尔本人的评论:)

Please look at the comments below from Michael himself :)

这篇关于在 Angular 中使用 Ivy 的缺点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆