day 225 — code 365

Tue 26 Jul 2016

React

Working on writing more React components today. Some helpful articles I found:

https://camjackson.net/post/9-things-every-reactjs-beginner-should-know

This excellent article looks at the differences between writing Classes versus Components in React.

https://toddmotto.com/react-create-class-versus-component/

ES6

Using more of the destructuring that ES6 allows:

Instead of this:

const name = this.props.name;
const email = this.props.email;

We can do this:

const { name, email } = this.props;

So wonderful!

Like what you read? Give Ampers Smith a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.