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:
16
App.tsx
16
App.tsx
@ -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 (
|
||||
|
Reference in New Issue
Block a user