News for hackers. Stuff that matters.
Re:Show HN: Build your first real world React.js application by roughcoder on Wednesday September 07, 2016 @03:11PM (#12446241)
If you support ES6/ES7 in your build cycle then we are big fans of the spread operator which can be used instead of _.default, Object.assign. For example:

    case 'CHANGE_LOCATION':
      return {
         ...state,
         location: action.location
      }
Re:Show HN: Build your first real world React.js application by Arnavion on Wednesday September 07, 2016 @05:01PM (#12447641)
Note that object spreading is neither an ES6 nor an ES7 feature. It is currently at stage 2 - https://github.com/tc39/proposals#active-proposals "Rest/Spread Properties"