{"repo":"callstackincubator/react-native-sandbox","free":true,"listed":false,"github":"https://github.com/callstackincubator/react-native-sandbox","clone":"git clone https://github.com/callstackincubator/react-native-sandbox.git","description":"Run multiple, isolated React Native instances within a single application","language":"TypeScript","stars":217,"topics":["react-native","security"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Execute React Native micro-apps with confidence using react-native-sandbox - 💡 Project Overview - 📝 API Example - 📚 API Reference - 🎨 Roadmap - 🔒 Security Considerations - TurboModules - Performance - File System & Storage - Platform-Specific react-native-sandbox is a library for running multiple, isolated React Native instances within a single application. This allows you to embed third-party or feature-specific \"micro-apps\" in a sandboxed environment, preventing uncontrolled interference with the main app by providing a clear API for communication ( postMessage / onMessage ). 💡 Project Overview This project was born from the need to safely run third-party code within a react-native application. The core requirements are: - Isolation: Run external code in a secure, sandboxed environment. - Safety: Prevent direct access to the host application's code and data. - Communication: Provide a safe and explicit API for communication between the host and the sandboxed instances. Note that postMessage only supports serializable data (similar to Window.postMessage in web browsers), meaning no functions, native state, or non-serializable objects can be passed. react-native-sandbox provides the API to create these sandboxed React Native instances with a simple component-based API, requiring no native code to be written by the consumer. This project is structured as a monorepo. - packages/react-native-sandbox : the core library - apps/ : examples To run the examples: 1. Install depe","default_branch":null,"files":null,"tree":[],"storefront":"/r/callstackincubator","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/callstackincubator/react-native-sandbox/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."}