Is there a better way to write this?  Like would setState(ContentStore.getAll()) do the same thing?  I think this looks needlessly messy, and anyway to streamline the code for legibility would be grand!
class Element extends Component {
 ...
   setContentState = () => {
     const {
      basename,
      bookmark,
      contents,
   } = ContentStore.getAll();
   this.setState({
     basename,
     bookmark,
     contents,
   });
 ...
}
}
 
    