This repository has been archived by the owner on Jun 29, 2021. It is now read-only.
Side-loading data into minimongo #423
Labels
in-discussion
We are still discussing how to solve or implement it
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.
The text was updated successfully, but these errors were encountered: