
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
react-native-yoga-jsi
Advanced tools
⚠️ Experimental Warning
This library is in its experimental phase, might be unstable, and may have breaking changes in the future.
| Platform | Supported Versions |
|---|---|
| iOS | >= 0.73.0 |
| Android | >= 0.73.0 |
This library aims to expose Yoga APIs to javascript, enabling advanced layout functionalities with any canvas or svg.
To install this library, use the following command:
npm i react-native-yoga-jsi
The core API is the same as Yoga's WASM bindings, enabling the use of any code that depends on yoga-wasm in React Native.
Core API Docs:
Refer to the official Yoga documentation for details on Yoga's features and usage.
The derived API is structured to feel like the standard React Native style API.
Features:
| Feature | Status |
|---|---|
| Core Yoga API bindings | 🌕 Implemented |
| Support all react native versions above 0.73.0 | 🌕 Implemented |
| Derived api similar to React Native stylesheet | 🌔 In Progress |
| Internal tests | 🌔 In Progress |
| Compatibility with Reanimated's UI thread | 🌓 Jumping between threads is unstable |
| Provide detailed documentation and examples | 🌘 In Progress |
| Internal benchmarks | 🌘 In Progress |
| Jest mocks | 🌘 In Progress |
| Spacer primitive (like SwiftUI) | 🌑 Planned |
| Migrate to Nitro Module | 🌑 Planned |
Here are a few examples demonstrating the use of this library:
The structural foundation of this library originates from react-native-quick-crypto.
This library is experimental and open to contributions. Please submit issues, feature requests, or pull requests via the repository.
MIT
Happy Hacking! 🚀
FAQs
Using Yoga with JSI in React Native
The npm package react-native-yoga-jsi receives a total of 6 weekly downloads. As such, react-native-yoga-jsi popularity was classified as not popular.
We found that react-native-yoga-jsi demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.