I have the following code. It\'s not rerendering when I call setState
var books = Object.assign({}, this.state.books); delete books[bookId]; this.set