
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
react-native-restart-newarch
Advanced tools
Ever wished your React Native app could restart itself like a phoenix rising from the ashes? 🔥 Now it can!
No more manually killing the app. Just call RNRestart.restart() and let the magic happen! 🪄✨
npm install react-native-restart-newarch
(Yeah, it's that easy!)
import RNRestart from "react-native-restart-newarch"; // Import package from node modules
// Immediately reload the React Native Bundle
RNRestart.restart(); // BOOM! Your app restarts instantly! ⚡
// Or
RNRestart.Restart(); // BOOM! Your app restarts instantly! ⚡
This is faster than a full reload and easier than debugging a state issue.
✅ Supports the New Architecture (TurboModules FTW!) ✅ Supports the Old Architecture (Backward Compatible) ✅ No Native Code Tweaks Needed (Plug & Play) ✅ Instant Restart (Goodbye, manual reloading) ✅ Perfect for Feature Toggles (Change configs & restart on the fly!)
We welcome PRs, issues, and ideas! See the contributing guide for details.
MIT
FAQs
Restart the app for new architecture
The npm package react-native-restart-newarch receives a total of 9,909 weekly downloads. As such, react-native-restart-newarch popularity was classified as popular.
We found that react-native-restart-newarch demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.