nsfmc’s avatarnsfmc’s Twitter Archive—№ 4,680

  1. …in reply to @ianstormtaylor
    ianstormtaylor I generally start pseudo-reduxy as sfc with onchange/value as props and promote to class when that gets awkward
    1. …in reply to @nsfmc
      ianstormtaylor and specifically profile out components to PureComponents as needed. I try not to think about it usually though.
      1. …in reply to @nsfmc
        ianstormtaylor and specifically focus more on having sane apis for shared/highly visible comps before I worry about their type
        1. …in reply to @nsfmc
          ianstormtaylor perhaps unsurprisingly all the PureComponents I’ve made recently are all proximal to draft-js in some way
          1. …in reply to @nsfmc
            ianstormtaylor which, btw, that is not a jab on draft just that I didn’t consider its frequent updates in adjacent and costly components