one
Version:
One is a new React Framework that makes Vite serve both native and web.
9 lines (8 loc) • 308 B
JavaScript
import { afterClientRender } from "./render";
import "expo-modules-core/src/web/index.web.ts";
process.env.ONE_ENABLE_REACT_SCAN && import("react-scan").then(({ scan }) => {
afterClientRender(() => {
scan(JSON.parse(`${process.env.ONE_ENABLE_REACT_SCAN}`));
});
});
//# sourceMappingURL=setup.js.map