
Security News
/Research
Fake Corepack Site Distributes Infostealer and Proxyware to Developers
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.
react-native-meteor-hooks
Advanced tools
React Native Hooks for Meteor. It was never easier to integrate React into the Meteor stack.
Just import the hooks you need from this module and you are ready to use Meteors reactive data in React Native. All Meteor computations from the hooks are stopped automatically when the component is removed from the tree.
import React from 'react'
import { useCurrentUser } from 'react-native-meteor-hooks'
const UserWidget = () => {
const currentUser = useCurrentUser()
return(
<div>
{ currentUser ? <p>{ currentUser.userName }</p> : <p>You are not logged in.</p> }
</div>
)
}
Runs a function inside Trackr.autorun and can return reactive data.
import React from 'react'
import { useTracker } from 'react-native-meteor-hooks'
const UserBooks = (sortBy) => {
const data = useTracker(() => {
const userProfile = Meteor.user().profile
const userBooks = Meteor.collection("Books").find({ _owner: Meteor.userId() }, { sort: { [sortBy]: -1 }})
return { userProfile, userBooks }
}, [sortBy])
// pass [sortBy] as second arg - so that this function will be rerun if sortBy changes
const books = data.userBooks.map(Book)
// ...
}
Subscribes to a publication and returns a reactive "loading" var.
import React from 'react'
import { useSubscription } from 'react-native-meteor-hooks'
const UserBooks = (sortBy, showLimit) => {
const loading = useSubscription('user_books', showLimit)
// subscription will be rerun if showLimit changes
if (loading) {
// ...
}
// ...
}
Fetches a MongoQuery and returns the result.
import React from 'react'
import { useMongoFetch, useSubscription } from 'react-native-meteor-hooks'
const UserBooks = (sortBy, showLimit) => {
const loading = useSubscription('user_books', showLimit)
if (loading) {
// ...
} else {
const allBooks = useMongoFetch(Books.find({}, { sort: { [sortBy] : -1 }}), [sortBy])
const books = allBooks.map(/* ... */)
// ...
}
}
Returns the current logged in User or null.
import React from 'react'
import { useCurrentUser, useSubscription } from 'react-native-meteor-hooks'
const UserBooks = (sortBy, showLimit) => {
const user = useCurrentUser()
if (user) {
const loading = useSubscription('user_books', showLimit)
if (loading) {
// ...
} else {
// ...
}
}
}
This package was inspired by a blog post of ARTHUR ANDERSEN. Go check out his blog!
FAQs
React Native Hooks for Meteor.
We found that react-native-meteor-hooks 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.

Security News
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.

Research
/Security News
A large-scale campaign abused GitHub Actions in compromised repositories to exploit CVE-2026-41940 in cPanel and WHM and steal server credentials.

Security News
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.