Loading a Meteor client app with fake fire-and-forget data

扶醉桌前 提交于 2019-12-06 06:54:32

I ended up implementing this myself with the partitioner package, which allows connected clients to be divided up into different slices each containing different data.

Basically, the idea is to put the user(s) into a new partition when they are in the tutorial, and then put them into another partition when they are using the app for real. Works great with the tutorials package as well. This gives up the ability of having changes to be client-local, but storing the tutorial data doesn't have much overhead and turned out to be useful in my case anyway.

An example of an app that does this is https://github.com/mizzao/CrowdMapper.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!