I want to dedicate a post to show you how to set up Gulp and in particular, a set up for React v0.14 and up. I also focus on doing this in ES2015 (ECMAScript 6 or ES6). I have seen countless threads of people having trouble getting over this initial but important phase.
If you are looking to set up react with webpack, have a look at a detailed post I wrote on react + webpack. It includes things like hot module replacement.
My first reaction was of course: What is a Pascal Triangle? After reading wikipedia I said, ok let’s give it a try. At the end I didn’t make a function, but a whole ES6 class that renders it nicely to the browser.
Check out the codepen:
If you want to start using ES6 in your projects, check out this tutorial I wrote.
With the coupon, the course becomes free of charge!
So naturally I’m giving these to you! If you want to learn how to build web apps with React and Flux there is no better chance than this. This course will get you up and running quickly, and teach you the core knowledge you need to deeply understand and build React components.
Note: All coupons have been used!
You can head over to this post to learn how to set up a project with react.