I can't figure out what this does or even is. Would someone please be so kind to point me what to research?
circle: (null : ?{ setNativeProps(props: Object): void }),
It's part of a React Native example and is part of a React Native class definition. The outer parts are (abbreviated):
var NavigatorIOSExample = React.createClass({
...
circle: (null : ?{ setNativeProps(props: Object): void }),
...
});
I assume it's some tricky use of the ternary operator. An anonymous function. But?
Source: https://facebook.github.io/react-native/docs/panresponder.html