
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
react-native-meteor
Advanced tools
Meteor-like methods for React Native.
If you have questions, you can open a new issue in the repository or ask in the our Gitter chat:
https://gitter.im/react-native-meteor/Lobby
The purpose of this library is :
yarn add react-native-meteor
or
npm i --save react-native-meteor
!! See detailed installation guide
Since RN 0.26.0 you have to use ws or wss protocol to connect to your meteor server. http is not working on Android.
It is recommended to always use the latest version of react-native-meteor compatible with your RN version:
react-native-meteor@latest
react-native-meteor@1.1.x
react-native-meteor@1.0.6
react-native-meteor@1.0.3
in case or problems.import React, { Component } from 'react';
import { View, Text } from 'react-native';
import Meteor, { withTracker, MeteorListView } from 'react-native-meteor';
Meteor.connect('ws://192.168.X.X:3000/websocket'); //do this only once
class App extends Component {
renderRow(todo) {
return <Text>{todo.title}</Text>;
}
render() {
const { settings, todosReady } = this.props;
return (
<View>
<Text>{settings.title}</Text>
{!todosReady && <Text>Not ready</Text>}
<MeteorListView
collection="todos"
selector={{ done: true }}
options={{ sort: { createdAt: -1 } }}
renderRow={this.renderRow}
/>
</View>
);
}
}
export default withTracker(params => {
const handle = Meteor.subscribe('todos');
Meteor.subscribe('settings');
return {
todosReady: handle.ready(),
settings: Meteor.collection('settings').findOne(),
};
})(App);
Pull Requests and issues reported are welcome! :)
react-native-meteor is MIT Licensed.
FAQs
Full Meteor Client for React Native
The npm package react-native-meteor receives a total of 14 weekly downloads. As such, react-native-meteor popularity was classified as not popular.
We found that react-native-meteor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.