Skip to content

Conversation

cloutiertyler
Copy link
Contributor

@cloutiertyler cloutiertyler commented Oct 17, 2025

Description of Changes

This PR fixes #3359. Additionally I have add a new test app to test for this issue and I changed a perl script to be portable on windows.

The issue was that useTable had it's own isActive state that it was incorrectly maintaining, when it should just have been using the connections isActive state directly.

This fixes a critical bug and should be pushed ASAP.

API and ABI breaking changes

None, fixes a critical bug.

Expected complexity level and risk

2, quite straightforward fix after figuring it out.

Testing

  • I added a test app and tested the fix in my browser.

@KingCosmic
Copy link

Hey! I just made issue #3431 and hit this issue myself. I was wanting to share that I think your code will fix it as long as the table hook runs after isActive is set to true. cause it doesn't seem like the useSpacetimeDB hook causes updates.

@bfops bfops added release-any To be landed in any release window bugfix Fixes something that was expected to work differently labels Oct 20, 2025
@bfops bfops enabled auto-merge October 20, 2025 17:57
@bfops bfops linked an issue Oct 20, 2025 that may be closed by this pull request
@bfops bfops added this pull request to the merge queue Oct 20, 2025
Merged via the queue into master with commit 3309404 Oct 20, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fixes something that was expected to work differently release-any To be landed in any release window

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Typescript sdk: react-hooks not functioning properly when used with react-router

5 participants