Re.Pack 5.1 ships several notable improvements for React Native bundling. Module Federation 2 now supports `prefetchRemote` out-of-the-box for preloading remote modules, enabling OTA-style asset caching workflows. A new runtime hooks system for `ScriptManager` lets developers intercept and modify the script loading process — useful for code-signing, retry logic, and other mobile-specific needs. Experimental persistent cache (via `REPACK_EXPERIMENTAL_CACHE=1`) delivers over 6x faster hot startups by reusing build artifacts across runs. Package Exports/Imports support is now fully aligned with React Native 0.79, with plans to enable it by default in a future release. The ecosystem also gains Rock CLI integration and Hot Updater as a CodePush replacement with Re.Pack support.

7m read timeFrom callstack.com
Post cover image
Table of contents
Support for Module Federation 2 prefetchRemote in runtimeHooks for ScriptManagerExperimental Persistent Cache supportFull support for Package Exports & ImportsWhat's new in Re.Pack ecosystemWhat’s next for Re.Pack?

Sort: