I wanted to shorten an object literal in ES6 like this:
const loc = this.props.local;
The reason is loc.foo(); is a lot easier
loc.foo();
It's telling you to use
const {props: {local: loc}} = this;