React-基于浏览器的差异加载(es5,es6,esnext等)

问题描述 投票:3回答:1

我来自角世界。 Angular 8最近发布,具有差异加载功能。这意味着将根据您的浏览器提供不同的已编译Javascript代码。因此,假设您使用的是Internet Explorer 11,则该应用程序将下载ES5 javascript文件,而如果您使用的是常绿/新浏览器(chrome,firefox等),则您提供的Javascript将为ES6。

查看此(https://blog.angular.io/version-8-of-angular-smaller-bundles-cli-apis-and-alignment-with-the-ecosystem-af0261112a27

React世界中有这样的东西吗?

javascript angular reactjs ecmascript-6 ecmascript-5
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.