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

How can I get posts by page id? #16

Open
rkhaslarov opened this issue Mar 10, 2017 · 2 comments
Open

How can I get posts by page id? #16

rkhaslarov opened this issue Mar 10, 2017 · 2 comments

Comments

@rkhaslarov
Copy link

Hello, I do everything that you write in flux leaderboard. But i have one problem. For example, I have Page Component, It renders Post components inside. Every Post has pageID.
On route i mount page component with props ID, where i can get posts by pageID with your helpers?

@rkhaslarov
Copy link
Author

Right now i do like that, trackCollectionCursor(Posts.find({page: Session.get('id')}), Posts_Actions.changed), but i dont think that it's properly

@AdamBrodzinski
Copy link
Owner

To be honest it's been so long since i've worked on this that I can't remember. Best of luck!

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