Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-root-siblings

Package Overview
Dependencies
Maintainers
2
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-root-siblings - npm Package Compare versions

Comparing version 3.1.5 to 3.1.6

13

index.js

@@ -1,2 +0,2 @@

import React, { Component, cloneElement } from 'react';
import React, { Component } from 'react';
import { StyleSheet, View, AppRegistry } from 'react-native';

@@ -11,2 +11,12 @@ import StaticContainer from 'static-container';

class Provider extends Component {
getChildContext() {
return { store: this.props.store };
}
render() {
return this.props.children;
}
}
AppRegistry.setWrapperComponentProvider(function() {

@@ -71,3 +81,2 @@ return function RootSiblingsWrapper(props) {

if (store) {
const Provider = require('react-redux').Provider;
elements.push(

@@ -74,0 +83,0 @@ <Provider store={store} key={`root-sibling-${key}-provider`}>

2

package.json
{
"version": "3.1.5",
"version": "3.1.6",
"name": "react-native-root-siblings",

@@ -4,0 +4,0 @@ "repository": {

@@ -1,4 +0,6 @@

### react-native-root-siblings
## react-native-root-siblings [![npm version](https://badge.fury.io/js/react-native-root-siblings.svg)](http://badge.fury.io/js/react-native-root-siblings)
---
Require react-native version >= 0.47
Add sibling elements after your app root element.

@@ -5,0 +7,0 @@ The created sibling elements are above the rest of your app elements.

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