Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How I Learned Modern Javascript by Writing Ancient Javascript

How I Learned Modern Javascript by Writing Ancient Javascript

With something that changes as fast as web technology - especially Javascript - it's important to build solid foundations as you learn. I talk about learning in "layers" and approaching a problem by isolating each specific area.

Alex Taylor

August 25, 2016
Tweet

More Decks by Alex Taylor

Other Decks in Technology

Transcript

  1. safe navigation &. const / let arrow functions default parameter

    values rest & spread ... string interpolation object property shorthand variable property names classes object destructuring import / export
  2. Alex Taylor @mctaylorpants import React, { Component } from 'react';

    import { reduxForm } from 'redux-form'; @reduxForm({ form: 'simple', fields: ['firstName'], getFormState: (state, reduxMountPoint) => state.get(reduxMountPoint).toJS() }) export default class SimpleForm extends Component { // render form }
  3. Alex Taylor @mctaylorpants import React, { Component } from 'react';

    import { reduxForm } from 'redux-form'; @reduxForm({ form: 'simple', fields: ['firstName'], getFormState: (state, reduxMountPoint) => state.get(reduxMountPoint).toJS() }) export default class SimpleForm extends Component { // render form }
  4. Alex Taylor @mctaylorpants import React, { Component } from 'react';

    import { reduxForm } from 'redux-form'; @reduxForm({ form: 'simple', fields: ['firstName'], getFormState: (state, reduxMountPoint) => state.get(reduxMountPoint).toJS() }) export default class SimpleForm extends Component { // render form }