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...
I\'ve
Yes this is destructuring assignment feature of ECMASCRIPT 6
For Example :
const { createElement } = React
const { render } = ReactDOM
const title = createElement('h1', {id: 'title', className: 'header'}, 'Hello World')
render(title, document.getElementById('react-container'))
here ^
React == {
cloneElement : function(){ ... },
createElement : function(){ ... },
createFactory : function(){ ... },
... }