2016-04-24 52 views

回答

0

Got it!

const cards = state.get('cards'); 
const newState = state.set('cards', 
    cards.splice(dragIndex, 1) 
    .splice(hoverIndex, 0, dragCard));