kadirahq / mantra

Mantra - An Application Architecture for Meteor
https://kadirahq.github.io/mantra/
978 stars 52 forks source link

should we use sub-manager for mantra ? #184

Closed lyquocnam closed 8 years ago

lyquocnam commented 8 years ago

dear all, i see this features from subsmanager:

  1. Let's say you visit page /posts?postId=abc.
  2. Then Meteor will subscribe to the singlePost publication with abc as the postId.
  3. Then let's imagine you visit to /posts?postId=bbc.
  4. Just like above, it'll subscribe to the singlePost publication with bbc as the postId.
  5. Now, let's say we go back to /posts?postId=abc. Then, subsManager won't fetch data again from the server. Subscription is already exists inside the client.

so with mantra react can we use this, and how to do that perfect ? thanks so much !

fermuch commented 8 years ago

Hello! This repo is intended to be only for discussing mantra spec related questions. We have a new forum for this kind of questions, here: https://talk.mantrajs.com/

Can you repost your question over there?

lyquocnam commented 8 years ago

ok men, thanks !