This preset combines the presets and/or plugins that we frequently use at Konnektid. Using this preset enables you to use most ES6 and ES7 features, allowing for (hopefully) cleaner and easier to write JavaScript. Note that some features are not available to use at this time, as they are still in active development and therefore likely to change.
This preset includes the React
, ES2015
and Stage 1
presets. This means the following features are available:
- JSX syntax
- Flow syntax
- Template literals
- Literals
- Function name
- Arrow functions
- Block scoped functions
- Classes
- Object super
- Shorthand properties
- Computed properties
- Duplicate keys
- For...of
- Sticky regex
- Unicode regex
- Constants
- Spread
- Parameters
- Destructuring
- Block scoping
- Typeof symbol
- Modules CommonJS
- Generator
- Async
- Exponentiation operator
- Trailing function commas
- Object rest Spread
- Class constructor call
- Class properties
- Export extensions
- Decorators (Stage 1 - pending proposal update)
- Do expressions (Stage 0)
- Function bind (Stage 0)