update(): expected spec of $splice to be an array of arrays; got 1. Did you forget to wrap your parameters in an array? code example
Example: update(): expected spec of $splice to be an array of arrays; got 1. Did you forget to wrap your parameters in an array?
this.setState({
blocks: update(this.state.blocks, {$splice: [[pos, 0, obj]]})
})