You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful to have access to this.userId inside the reduce function of a server-only reducer! Since it's running inside a method context, this should be doable.
Current workaround: use Meteor.userId();
The text was updated successfully, but these errors were encountered:
If I'm not mistaken, for server we have this order of execution hypernovaInit -> prepareForDelivery -> applyReducers. Since hypernovaInit already receives userId we could just pass this all the way down to applyReducers & compute() function in reducerNode.
It would be helpful to have access to
this.userId
inside thereduce
function of a server-only reducer! Since it's running inside a method context, this should be doable.Current workaround: use
Meteor.userId();
The text was updated successfully, but these errors were encountered: