Support ES6
See original GitHub issueHello, can I ask about support ES6 fat arrows function?
_renderContent = (color: string) => {
return (
<View style={{backgroundColor: color}} \>
);
};
Thank you, redak105
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
"es6" | Can I use... Support tables for HTML5, CSS3, etc
As ES6 refers to a huge specification and browsers have various levels of support, "Supported" means at least 95% of the spec is...
Read more >ECMAScript 6 compatibility table
Feature name▻ Current browser 98% ES6 Trans‑ piler 25% Trace...
Optimisation Optimisation Optimisation Optimi...
§proper tail calls (tail call optimisation)▻ 0/2 0/2 0/2
§direct recursionc No...
Read more >JavaScript Versions - W3Schools
ECMAScript versions have been abbreviated to ES1, ES2, ES3, ES5, and ES6. ... Internet Explorer 9 does not support ECMAScript 5 "use strict"....
Read more >ECMAScript 2015 (ES6) and beyond - Node.js
The website node.green provides an excellent overview over supported ECMAScript features in various versions of Node.js, based on kangax's compat-table.
Read more >ES6 Support In Chromium
ES6 Support In Chromium. This is a list of ECMAScript6 features allowed in Chromium code. This is not a status list of v8's...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That’s what I meant when I mentioned in an earlier post
This is an example of a public class field, so it wasn’t supported.
However, since then we have released
v3.0.0-beta
which uses Babylon7, which should be able to handle this case! You can install it vianpm install react-docgen@next
.I’ll give it a shot, thanks for your work!