@upendra.manike/rn-perf-bootstrap
v0.1.1
Published
Runtime bootstrap utilities tuned for RN startup performance.
Maintainers
Readme
@rn-perf/bootstrap
Slow startup, heavy JS execution before first paint.
Install
npm install @rn-perf/bootstrapUsage
import { useDeferredBootstrap, logStartupMilestone } from '@rn-perf/bootstrap';
export function App() {
useDeferredBootstrap({ onComplete: () => logStartupMilestone('app_visible') });
return <RootNavigator />;
}Why it matters
- Slow startup, heavy JS execution before first paint.
- Designed for React Native 0.72+
- Ships with CJS/ESM/TS types for AI tooling
