Code Monkey home page Code Monkey logo

Comments (2)

etosch avatar etosch commented on July 20, 2024

+1 for es6!

  Emma Tosch
  [email protected]

On Wed, Jul 8, 2015, at 03:34 AM, Prakhar Srivastav wrote:

Move the React components to ES6 classes. Refer - http://babeljs.io/blog/2015/06/07/react-on-es6-plus/


Reply to this email directly or view it on GitHub[1].

Links:

  1. #31

from react-surveyman.

prakhar1989 avatar prakhar1989 commented on July 20, 2024

Haha! I've been using a few ES6 features quite extensively in this project such as arrow functions, rest and spread operators, template strings and default arguments. Unfortunately, I had been missing out on the ES6 classes since it required much more changes in code (eg. you need to manually bind all your functions in your React component). However, the post linked above is quite helpful and reading it makes me want to jump on the es6 wagon all the way through! 😀

from react-surveyman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.