@moxb/meteor-react
TypeScript icon, indicating that this package has built-in type declarations

0.4.7 • Public • Published

Meteor react hooks

This package contains various small utilities I find useful when building React applications, using React hooks, on top of Meteor.

Provided React hooks:

  • useMeteorUserId() for obvious reasons
  • useMeteorUser() for obvious reasons
  • useMeteorPublication() for using the live results of a subscription to a Meteor publication, with flow control, error handling, etc
  • useMethodResults() for using the results of a Meteor method, with various flow control functions, manual triggers, polling, error handling, etc

/@moxb/meteor-react/

    Package Sidebar

    Install

    npm i @moxb/meteor-react

    Weekly Downloads

    3

    Version

    0.4.7

    License

    MIT

    Unpacked Size

    6.74 kB

    Total Files

    7

    Last publish

    Collaborators

    • scharf
    • herndl
    • csillag
    • gerujv