开源中国 2018 年度最后一场技术盛会邀你来约~错过就要等明年啦!点此立即预约

云小飞 / React_IE8_boilerplateJavaScript

Watch 7 Star 27 Fork 4
Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
兼容IE8的React(anu)开发脚手架 spread retract

Loading...
README.md

ES6-IE8-boilerplate

ECMAScript 6 入门 [http://es6.ruanyifeng.com/#docs/symbol]

Integrating with Other Libraries[https://reactjs.org/docs/integrating-with-other-libraries.html]

ES6 IE8兼容配置

  1. class语法Object.defineProperty: babel需要是loose模式
  2. 对象不支持“create”属性或方法.: babel-polyfill
  3. webpack@1.15.0 webpack-dev-server@1.16.5 babel-loader@6.4.1
  4. es3ify-loader (后来用es3ifyPlugin代替, 因为后者对sourcemap支持更好)
  5. React Router 2.3.0支持IE8 [https://github.com/ReactTraining/react-router/tree/v2.3.0/docs]

Comments ( 21 )

You need to Sign in for post a comment

Help Search