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
{{ message }}
This repository was archived by the owner on Jun 29, 2021. It is now read-only.
There should be a supported way to inject data directly into minimongo instead of by subscription and DDP, but still allow update by subscription later.
A common use case for this is to support SSR - the initial data to hydrate an app can be shipped as a JSON string with the html - library example.
In my app, eliminating the wait for the initial subscription would reduce page load time from ~4s to ~0.8s.
There should be a supported way to inject data directly into minimongo instead of by subscription and DDP, but still allow update by subscription later.
A common use case for this is to support SSR - the initial data to hydrate an app can be shipped as a JSON string with the html - library example.
In my app, eliminating the wait for the initial subscription would reduce page load time from ~4s to ~0.8s.
This code - https://github.com/kadirahq/fast-render/blob/master/lib/client/fast_render.js#L19-L90 might do the job, but it's 5 years old, and getting quite deep into meteor's internals.