-
Notifications
You must be signed in to change notification settings - Fork 34
/
index.js
27 lines (22 loc) · 1000 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import 'react-native-gesture-handler'; // fix ongesture handler error
// import 'node-libs-react-native/globals';
import 'mobx-react/batchingForReactNative';
import './global';
import crypto from 'crypto'; // DO NOT REMOVE!
import React from 'react';
// if (process.env.NODE_ENV === 'development') {
// const whyDidYouRender = require('@welldone-software/why-did-you-render');
// whyDidYouRender(React, {
// trackAllPureComponents: true,
// });
// }
import { AppRegistry } from 'react-native';
import reanimated from 'react-native-reanimated';
import App from './App';
import { enableScreens } from 'react-native-screens';
// polyfill to avoid react-native-reanimated-indicators error with new reanimated
reanimated.interpolate = reanimated.interpolateNode;
enableScreens();
// // grab this text blob, and put it in a file named packager/modulePaths.js
// console.log(`module.exports = ${JSON.stringify(loadedModuleNames.sort())};`);
AppRegistry.registerComponent('Minds', () => App);