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
I packed the container into a composer. The composer is subscribing to data, as soon as the subscription is ready the composer gets called again and sends the data via onData(null, props) to the container. When the container is mounted the composer runs again and triggers an update of the component.
What is triggering the reload of the composer? I am not changing any props of the composer?
P.S. I am using Meteor.
The text was updated successfully, but these errors were encountered:
derdrdirk
changed the title
Composer rendering container twice!
Composer rendering container twice
May 1, 2017
subscribe ready is reactive source
it will be switching between false to true
and if your props are from collection cursor it will reactive while ddp sends message
you have to wait subscribe ready most time
because ddp message from publish cursor sends one by one
or use this.added changed removed erc to customize your ddp manually
I packed the container into a composer. The composer is subscribing to data, as soon as the subscription is ready the composer gets called again and sends the data via
onData(null, props)
to the container. When the container is mounted the composer runs again and triggers an update of the component.What is triggering the reload of the composer? I am not changing any props of the composer?
P.S. I am using Meteor.
The text was updated successfully, but these errors were encountered: