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:
See the Pen A Pascal Triangle in ES6 by Jean-Pierre Sierens (@jpsierens) on CodePen.
If you want to start using ES6 in your projects, check out this tutorial I wrote.
The guys at udemy were nice enough to hand me 50 coupons for the course: Build Web Apps with React JS and Flux.
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.
I made a game of life clone in ES6 .
Instructions on how to run the game are on the projects github page linked above.