1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Lots of updates

This commit is contained in:
Zhiyuan Zheng
2021-01-07 19:13:09 +01:00
parent dcb36a682d
commit 4b99813bb7
104 changed files with 2463 additions and 1619 deletions

18
src/startup/dev.ts Normal file
View File

@ -0,0 +1,18 @@
import * as Analytics from 'expo-firebase-analytics'
import React from 'react'
import log from './log'
const dev = () => {
if (__DEV__) {
Analytics.setDebugModeEnabled(true)
log('log', 'devs', 'initializing wdyr')
const whyDidYouRender = require('@welldone-software/why-did-you-render')
whyDidYouRender(React, {
trackHooks: true,
hotReloadBufferMs: 1000
})
}
}
export default dev