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

Preparing for upgrading expo SDK

This commit is contained in:
Zhiyuan Zheng
2020-12-10 19:19:56 +01:00
parent 2272ea3841
commit fb123b6a26
16 changed files with 507 additions and 325 deletions

16
App.tsx
View File

@ -16,14 +16,14 @@ setConsole({
error: console.warn
})
// if (__DEV__) {
// const whyDidYouRender = require('@welldone-software/why-did-you-render')
// whyDidYouRender(React, {
// trackAllPureComponents: true,
// trackHooks: true,
// hotReloadBufferMs: 1000
// })
// }
if (__DEV__) {
const whyDidYouRender = require('@welldone-software/why-did-you-render')
whyDidYouRender(React, {
trackAllPureComponents: true,
trackHooks: true,
hotReloadBufferMs: 1000
})
}
const App: React.FC = () => {
return (