3 ms·
In the docs: https://reactjs.org/docs/react-without-jsx.html https://reactjs.org/docs/react-without-jsx.html Unfortunately it uses ES6 features. There's no ES
by TAForObvReasons 8y ago
In the docs: https://reactjs.org/docs/react-without-jsx.html https://reactjs.org/docs/react-without-jsx.html
Unfortunately it uses ES6 features. There's no ES3/ES5 demo without JSX -- https://reactjs.org/docs/react-without-es6.html https://reactjs.org/docs/react-without-es6.html uses JSX
- Silhouette 8y agoUnfortunately it uses ES6 features. As an aside, is that really a problem these days? All modern browsers now offer comprehensive native ES6 support. Unless you still need to support older platforms like IE or some of the legacy mobile browsers, it's mostly a non-issue.
- __s 8y agoIE11 is holding out. Mobile Safari is hit & miss
- Silhouette 8y agoPresumably IE11 will hold out forever, since it's not under meaningful development any more. What's missing from any recent version of iOS Safari, though? Anything from 10 upwards supports pretty much all of ES6 with very minor exceptions, AFAIK. Even features from more recent versions of ES tend to be supported quite well quite quickly in the era of self-updating "evergreen" browsers.
- craigzucchini 8y agoLike you said, it depends how much you're betting on your JS to work perfectly, and who your intended market is. If all you're doing is hoping for the most optimistic JS runtime (and perfect connectivity, high bandwidth, etc.) and your site is a white screen of death otherwise, then you're not really building a robust piece of software for the web. Of course, that may not be what you're trying to do, then it's a non-issue.
- Illniyar 8y agoIf vue 3.0 uses proxies (as the slides say), then Vue 3 will also now require ES6 features.