🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

react-native-restart-newarch

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-restart-newarch

Restart the app for new architecture

latest
Source
npmnpm
Version
1.0.85
Version published
Weekly downloads
13K
-35.45%
Maintainers
1
Weekly downloads
 
Created
Source

⚡ React Native Restart (New & Old Arch ) 🚀

npm version npm downloads Build Status License Bundlephobia Platform Architecture

Ever wished your React Native app could restart itself like a phoenix rising from the ashes? 🔥 Now it can!

📱 Supported Minimum Versions

  • iOS: 12.0
  • Android: 21 (Lollipop)

No more manually killing the app. Just call RNRestart.restart() and let the magic happen! 🪄✨

🛠️ Installation

npm install react-native-restart-newarch

(Yeah, it's that easy!)

🚀 Usage

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.

🧐 Why Use This?

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!)

🤝 Contributing

We welcome PRs, issues, and ideas! See the contributing guide for details.

📜 License

MIT

Keywords

react-native

FAQs

Package last updated on 28 Oct 2025

Did you know?

Socket

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.

Install

Related posts