You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
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

to
3.1.7

yarn.lock

6

index.d.ts
declare class RootSiblings {
constructor(el: JSX.Element, callback?: Function, store?: Object);
constructor(el: JSX.Element, callback?: () => void, store?: object);
update(el: JSX.Element, callback?: Function, store?: Object): void;
update(el: JSX.Element, callback?: () => void, store?: object): void;
destroy(callback?: Function): void;
destroy(callback?: () => void): void;
}
export = RootSiblings;
import React, { Component } from 'react';
import { StyleSheet, View, AppRegistry } from 'react-native';
import StaticContainer from 'static-container';
import PropTypes from 'prop-types';

@@ -12,2 +13,10 @@ const styles = StyleSheet.create({

class Provider extends Component {
static childContextTypes = {
store: PropTypes.shape({
subscribe: PropTypes.func.isRequired,
dispatch: PropTypes.func.isRequired,
getState: PropTypes.func.isRequired,
}),
};
getChildContext() {

@@ -14,0 +23,0 @@ return { store: this.props.store };

{
"version": "3.1.6",
"version": "3.1.7",
"name": "react-native-root-siblings",

@@ -11,2 +11,3 @@ "repository": {

"dependencies": {
"prop-types": "^15.6.2",
"static-container": "^1.0.0"

@@ -13,0 +14,0 @@ },