Declaring Const With Curly Braces in JSX : <p>I'm just getting started with React Native and getting used to JSX syntax. Is that what I'm talking about? Or am I talking about TypeScript? Or... ES6? Anyway...</p>

<p>I've seen this:</p>

<pre><code>const { foo } = this.props;
</code></pre>

<p>Inside a class function. What is the purpose of the curly braces and what's the difference between using them and not using them?</p>
