Meteor-Community-Packages / Meteor-Community-Packages/meteor-tabular

Add nonreactive mode

Open
#109 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement will accept pull request
Dominant language
JavaScript
Stars
360
Forks
132
PR merge metrics
No merged PRs in 30d

Description

I have a Monkeys collection that displays a list of monkeys names and ages. Visitors can add or remove monkeys. When a visitor adds a monkey to the list, I wish it would not be visible to the others until they update the list with an update button.
I tried to avoid reactivity within the tabular's options:
collection: Monkeys.find({}, {sort: { age: -1, name: 1}, reactive: false}).fetch(),
And it doesn't work. What can I do to achieve this purpose?
see: monkeys.meteor.com

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the behavior at monkeys.meteor.com and read the tabular options around the collection query shown in the issue. The change is complete when newly added or removed monkeys remain hidden from other viewers until they explicitly update the list.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.