Dependent execution

Open
#407 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
28/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, react
Domain
frontend

Research direction

Start by reading the issue and the linked TanStack React Query dependent-queries documentation, then inspect the repository's existing hooks. Define how execution should wait for conditional or user data and what tests would demonstrate that subscriptions and requests do not start prematurely.

Written by the indexing model from the issue text.

Description

documentation enhancement help wanted

I was recently looking at React Query and found in their docs that they have something called dependent queries:
https://tanstack.com/query/latest/docs/framework/react/guides/dependent-queries

I found this very interesting and something that I often find myself needing with the hooks, especially as it relates to user based content where I don't want to trigger a subscription and everything else if the user is not logged in or at least until that data is available. This could also be used with other conditional data and could help in reducing lot of boilerplate code to handle such scenarios or wait with execution until the given data is available so that I don't have a flash of 404 page and similar issues.

Dominant language
JavaScript
Stars
576
Forks
168
Avg merge
4d 3h
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

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.

More from meteor/react-packages

All issues in meteor/react-packages

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.