mjbp/storm-date-picker

Refactor

Opened this issue · 0 comments

mjbp commented
  • remove this
  • extract single line and comma returns into more readable format
  • human-friendly variable names
  • code comments
  • remove magic strings
  • evaluate structure
  • minimal state, centralised in a store
  • remove mutations
  • pure functions only unless DOM manipulations
  • reassess object.assign