@moxb/meteor-react
v0.4.7
Published
MobX meteor React binding
Downloads
18
Readme
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 reasonsuseMeteorUser()
for obvious reasonsuseMeteorPublication()
for using the live results of a subscription to a Meteor publication, with flow control, error handling, etcuseMethodResults()
for using the results of a Meteor method, with various flow control functions, manual triggers, polling, error handling, etc