{"repo":"ammarahm-ed/react-native-workers","free":true,"listed":false,"github":"https://github.com/ammarahm-ed/react-native-workers","clone":"git clone https://github.com/ammarahm-ed/react-native-workers.git","description":"Real threads for React Native. Web Worker–style API, backed by a separate Hermes runtime on its own thread — with structured-clone messaging, timers, shared memory, and full native-module access.","language":"TypeScript","stars":110,"topics":["android","cpp","ios","multithreading","react-native","typescript","workers"],"license":"MIT","category":"mobile-apps","readme_excerpt":"React Native Workers Real threads for React Native. Web Worker–style API, backed by a separate Hermes runtime on its own thread — with structured-clone messaging, timers, shared memory, and full native-module access. Documentation · Quick start · API reference · Examples --- React Native runs all your JavaScript on a single JS thread, and drives UI updates from it. A long parse, a big image filter, or a tight simulation loop blocks that thread — so it can't dispatch updates and your UI stalls. This library gives you a real one: It's a headless React Native: no UI, but the same JavaScript engine, the same timers and Promises, and the same native modules you already use. Why it's different --- --- A real thread Its own Hermes runtime with its own heap and event loop, not a time-slice of yours. Native modules work TurboModules, legacy modules and Nitro modules all resolve inside a worker — react-native-mmkv , react-native-blob-util and friends work unmodified. Shared memory, not just messages A ladder from postMessage to lock-free shared cells and raw shared ArrayBuffer s — pick the cost you want to pay. Typed two-way RPC Call across the boundary like a local async function, in both directions, with one shared type. Small bundles Worker bundles ship 150 KB instead of 1.4 MB, because the UI half of React Native never enters the graph. Debuggable Every worker is its own DevTools target — breakpoints, stepping, and console.log forwarded to the host with a [Worker:name] tag. Workers","default_branch":null,"files":null,"tree":[],"storefront":"/r/ammarahm-ed","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ammarahm-ed/react-native-workers/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}