New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More โ†’
Socket
Sign inDemoInstall
Socket

react-native-boost

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-boost

๐Ÿš€ Boost your React Native app's performance with a single line of code

  • 0.5.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.3K
Maintainers
0
Weekly downloads
ย 
Created
Source

๐Ÿš€ react-native-boost

npm bundle size GitHub GitHub last commit

A powerful Babel plugin that automatically optimizes React Native apps through source code analysis and optimization. It identifies safe micro-optimization opportunities, which can lead to significant performance improvements.

[!WARNING] The library and its Babel plugin are still experimental. You should expect things to break. Please report any issues you encounter in the issues tab with reproducible examples, and use the library's ignore mechanisms to disable optimizations for problematic files or lines of code.

  • โšก Automatic performance optimization through source code analysis
  • ๐Ÿ”’ Safe optimizations that don't break your app
  • ๐ŸŽฏ Virtually zero runtime overhead
  • ๐Ÿ“ฑ Cross-platform compatible
  • ๐Ÿงช Works seamlessly with Expo
  • ๐ŸŽจ Configurable optimization strategies

Documentation

The documentation is available at react-native-boost.oss.kuatsu.de.

Benchmark

The example app in the apps/example directory is a benchmark for the performance of the plugin.

More benchmarks are available in the docs.

Installation

Install the package using your favorite package manager. Please do not install the package as a dev dependency. While the Babel plugin itself would work as a dev dependency, some optimizations import minimal helpers into your code, which requires the package to be installed as a regular dependency.

npm install react-native-boost
# or
yarn add react-native-boost

Then, add the plugin to your Babel configuration (babel.config.js):

module.exports = {
  plugins: ['react-native-boost/plugin'],
};

That's it! No imports in your code, pod installing, or anything else is required. Optionally, you can configure the plugin with a few options. See the documentation for more information.

How It Works

A technical rundown of how the plugin works can be found in the docs.

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Keywords

FAQs

Package last updated on 26 Feb 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc