React SSR and Meteor.wrapAsync

Is it useful to use Meteor.wrapAsync when doing SSR with React in Meteor? Should the render method be wrapped in that? I’m getting some errors coming from my SSR code which mention Promise.asyncApply, which I can’t find any documentation on.

I do a number of inline queries, which are themselves using Fibers, if I understand correctly, and I’m not sure how that plays with Meteor’s server-render.

Or maybe Meteor.bindEnvironment? I guess I have to finally learn how these things work.

1 Like

how about async/await? I have another issue with meteor react SSR on production: It can’t handle many concurrent connections, just throws empty error.