Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

render-counter-entry.ts

5 lines243 Bytes

1// Production builds fold this condition to false before Metro collects
2// dependencies, so the counter module never enters a release bundle.
3if (__DEV__ && process.env.EXPO_PUBLIC_T3_RENDER_COUNTER === "1") {
4 require("./render-counter");
5}