My app take some seconds for bundle load, then execute connect to meteor server, so user have to wait for quite long time before they can use app. I wonder could we move ddp client lib to native code, then we can connect to server by native way while app bundle loading.
May we do that?
Have you tried putting Meteor.connect() in your main file outside of any components or async callbacks? Some libraries belong in the JS layer, such as the DDP client, so that it keeps the bridge flowing freely.
Hi everyone !
My app take some seconds for bundle load, then execute connect to meteor server, so user have to wait for quite long time before they can use app. I wonder could we move ddp client lib to native code, then we can connect to server by native way while app bundle loading. May we do that?
Thanks !