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

fix(react): Allows useQuery to work again when server is null. #3685

Merged
merged 1 commit into from
Feb 2, 2025

Conversation

aboodman
Copy link
Contributor

@aboodman aboodman commented Feb 2, 2025

Fixes https://bugs.rocicorp.dev/issue/3497

This was broken with:

#3409 (comment)

I don't think the server check was actually needed to accomplish the goal of that PR, but will check w/ chase. Want to land this now to unblock user with canary.

Copy link

vercel bot commented Feb 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
replicache-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 2, 2025 9:46am
zbugs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 2, 2025 9:46am

@aboodman aboodman requested a review from arv February 2, 2025 09:47
@aboodman aboodman enabled auto-merge (rebase) February 2, 2025 09:47
@aboodman aboodman disabled auto-merge February 2, 2025 09:47
@aboodman aboodman merged commit 48f8594 into main Feb 2, 2025
13 checks passed
@aboodman aboodman deleted the aa/use-query-fix branch February 2, 2025 09:47
Copy link

github-actions bot commented Feb 2, 2025

🐰 Bencher Report

Branchaa/use-query-fix
Testbedlocalhost
Click to view all benchmark results
BenchmarkFile SizeBenchmark Result
kilobytes (KB)
(Result Δ%)
Upper Boundary
kilobytes (KB)
(Limit %)
zero-package.tgz📈 view plot
🚷 view threshold
919.16
(-0.00%)
937.56
(98.04%)
zero.js📈 view plot
🚷 view threshold
171.95
(0.00%)
175.39
(98.04%)
zero.js.br📈 view plot
🚷 view threshold
47.93
(0.00%)
48.89
(98.04%)
🐰 View full continuous benchmarking report in Bencher

Copy link

github-actions bot commented Feb 2, 2025

🐰 Bencher Report

Branchaa/use-query-fix
Testbedlocalhost
Click to view all benchmark results
BenchmarkThroughputBenchmark Result
operations / second (ops/s)
(Result Δ%)
Lower Boundary
operations / second (ops/s)
(Limit %)
src/client/zero.bench.ts > basics > All 1000 rows x 10 columns (numbers)📈 view plot
🚷 view threshold
78.85
(+8.63%)
67.95
(86.17%)
src/client/zero.bench.ts > with filter > Lower rows 500 x 10 columns (numbers)📈 view plot
🚷 view threshold
97.87
(+3.30%)
90.37
(92.33%)
🐰 View full continuous benchmarking report in Bencher

Copy link
Contributor

@arv arv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

2 participants