buhman / short

web frontend experiments
0 stars 0 forks source link

react-redux notes #1

Open buhman opened 7 years ago

buhman commented 7 years ago

Other problems are more related to javascript itself (maybe there's precedent for some compile-to-js + react stack):

    case 'DELETED_SHORT':
      return Object.assign({}, state, {
        fetching: {
          ...state.fetching,
          [action.fetch]: false
        },
        items: state.items.filter(item =>
          item.id !== action.id
        )
      })

Overall, I like it much more than jquerypocalypse, but it seems like better things should exist.

buhman commented 7 years ago

Things that I might try later: