Skip to content

Fix use_query and use_prepared_query stalling issue#105

Open
Madoshakalaka wants to merge 3 commits intobounce-rs:masterfrom
Madoshakalaka:use_query-stall-fix-2
Open

Fix use_query and use_prepared_query stalling issue#105
Madoshakalaka wants to merge 3 commits intobounce-rs:masterfrom
Madoshakalaka:use_query-stall-fix-2

Conversation

@Madoshakalaka
Copy link

Description

#104 was an ugly fix with an extra yew_hooks dependency, I think this PR fixes #102 and #99 properly.

I have tested bounce before and after the fix on two minimal repos:

https://github.com/Madoshakalaka/use-query-stalls
and
https://github.com/Madoshakalaka/use-prepared-query-stall
(a SSR setup with axum)

I made sure

  1. the stalling behavior is fixed.
  2. no duplicate requests on new input
  3. response caching works on seen inputs

Checklist

  • I have self-reviewed and tested this pull request to my best ability.
  • I have added tests for my changes.
  • I have updated docs to reflect any new features / changes in this pull request.
  • I have added my changes to CHANGELOG.md.

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.

use_query seems to stall forever without running the query

1 participant