how can I write
const ModalPicker = require('nativescript-modal-datetimepicker').ModalDatetimepicker;
in ES6 syntax?
usefunctions that contain all your state if you wanted, although I think Context is still useful. Has reducers as well