// Metro's entry. The worklet has its OWN entry — `lib/node.js`, bundled separately by `bare-pack`.
//
// ⛔ Two bundlers, two artifacts, deliberately. Metro packs the React Native shell; bare-pack packs
// the node. They share no module graph and must not: the worklet runs under Bare with bare-fs,
// hyperswarm and a corestore, none of which Metro can resolve or would be right to try.
//
// ⚠ The name must match `MainActivity.getMainComponentName()`, which is "favela". Changing it here
// alone gives a blank white screen with no error — React Native looks up a component that was never
// registered and simply renders nothing.
import { AppRegistry } from 'react-native'
import App from './App'
AppRegistry.registerComponent('favela', () => App)