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
Basically, calling Counts.publish() inside a publication seems to be preventing FlowRouter from subscribing to that publication when performing SSR. As a result the collection is empty inside the FlowRouter SSR simulation.
As soon as I comment out Counts.publish(), FlowRouter SSR finds the documents again.
The text was updated successfully, but these errors were encountered:
(Cross-posted from percolatestudio/publish-counts#80)
Basically, calling
Counts.publish()
inside a publication seems to be preventing FlowRouter from subscribing to that publication when performing SSR. As a result the collection is empty inside the FlowRouter SSR simulation.As soon as I comment out
Counts.publish()
, FlowRouter SSR finds the documents again.The text was updated successfully, but these errors were encountered: