Skip to content

Commit ddbc24c

Browse files
committed
Enable freeze app-wide
1 parent 2056c47 commit ddbc24c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

App.tsx

+4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
import React from "react";
22

3+
import { enableFreeze } from "react-native-screens";
4+
35
import { Providers } from "~/Providers";
46
import RootStack from "~/router/RootStack";
57

8+
enableFreeze(true);
9+
610
export default function App() {
711
return (
812
<Providers>

0 commit comments

Comments
 (0)