restack-core
tools make react application development easier.
modal
i18n
sample bootstrap script app.jsx
with i18n
i18n;
sample bootstrap script app.jsx
without i18n
;
npm dependencies description
dependency | type | desc |
---|---|---|
babel-runtime | babel | |
jed | lib | jed i18n |
lodash | lib | underscore like |
moment | lib | time |
react | lib |
dependency | type | desc |
---|---|---|
babel-plugin-transform-async-to-generator | babel-plugin | Stage 3 |
babel-plugin-transform-class-properties | babel-plugin | Stage 1 |
babel-plugin-transform-export-extensions | babel-plugin | Stage 1 |
babel-plugin-transform-object-rest-spread | babel-plugin | Stage 2 |
babel-plugin-transform-runtime | babel-plugin | babel helpers in one place |
babel-preset-es2015 | babel-plugin | |
babel-preset-react | babel-plugin | |
babel-preset-react-hmre | babel-plugin |
babel plugins
we enabled these es features by babel
Async to generator transform
{ await ;}
Class properties transform
myProp = 42; static myStaticProp = 21; { console; // Prints '42' console; // Prints '21' }
Export extensions transform
;;
Object rest spread transform
// Rest propertieslet x y ...z = x: 1 y: 2 a: 3 b: 4 ;console; // 1console; // 2console; // { a: 3, b: 4 } // Spread propertieslet n = x y ...z ;console; // { x: 1, y: 2, a: 3, b: 4 }