please make it more ES6-able
cool package!
I'd apprecuate if you could user export instead of module.exports.
specificallt in node_modules\react-native-pull-to-refresh\index.js if you can change line number 5 to `export var PTRView = false;'
that'd be great.
tip : use eslint for code linting.
@kaminskypavel Thank you for your issue and any hint to improve!
I will update this component based on your idea in a few days :smile_cat:
@kaminskypavel
I thought, It is not better because If I use export, we cannot use the component like this:
var PTRView = require('react-native-pull-to-refresh')
react-native is also using module.exports.
https://github.com/facebook/react-native/blob/master/Libraries/react-native/react-native.js#L133
What do you think about?