Skip to content

Instantly share code, notes, and snippets.

@jnhuynh
jnhuynh / gist:86693d8b485f4d335300
Last active February 7, 2018 07:10
React Native Directory Structure
.
├── index.ios.js
├── js
│   ├── actions
│   │   ├── ChatServerActionCreators.js
│   │   └── ChatThreadActionCreators.js
│   ├── components
│   │   ├── ChatScreen
│   │   │   ├── index.js
Ember.Route.extend({
model: function() {
var promises = {
apiCall1: new Ember.RSVP.Promise(function(resolve, reject) {
// make api call 1
}),
apiCall2: new Ember.RSVP.Promise(function(resolve, reject) {
// make api call 2
})