hi my name is Farukh and I am using meteor with react JS so I want to know how to use react hooks with meteor because I can't understand how can I embed hooks with meteor.
You use hooks like you would in any other project. For Meteor specific work, you can use withTracker HOC or the newer useTracker hook.
withTracker
useTracker
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
hi my name is Farukh and I am using meteor with react JS so I want to know how to use react hooks with meteor because I can't understand how can I embed hooks with meteor.
You use hooks like you would in any other project.
For Meteor specific work, you can use
withTracker
HOC or the neweruseTracker
hook.