Skip to content

mawelCaballero/reactStartProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Course about react tech


#In this lesson: Extra Feautures --> Boiler Plate.


Description

In this application scratch , we have added new javascript features with Babel.

To install this plugin we need to execute in out console:

npm install --save-dev babel-preset-stage-0

After install, the way to include in our webpack file config is the following one:

  presets: ['react', 'es2015', 'stage-0']

and we can test it like this example: app.jsx

var obj1 = {
  name: 'Manuel',
  location: 'Gijon'
};

var obj2 = {
  age:33,
  ...obj1 // this is fucking awesome
};

console.log(obj2);

About

An starting react project from 0 with a basic structure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published