Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meteor/MiniMongo is Local State #193

Open
AnnotatedJS opened this issue May 11, 2016 · 1 comment
Open

Meteor/MiniMongo is Local State #193

AnnotatedJS opened this issue May 11, 2016 · 1 comment

Comments

@AnnotatedJS
Copy link

In the specs at 2.5State Management, the bullet point with "Meteor/MiniMongo (Remote State)"suggests that Meteor/MiniMongo is a Remote State.

However, Meteor/MiniMongo is located at the client and therefore a Local State.

And yes, in most of the use cases MiniMongo is connected with a real Mongo database on a server but that is not mandatory.

@happy-little-one
Copy link

yes ,minimongo can be used as Local State by deifine a collection and pass null to it, then it is a pure client collection,for example:

const Errors = new Mongo.Collection(null);

but always this is not nesscery,for reactive-dict is enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants