Skip to content

Fix transport snapshots and add Hot Tamale theme#465

Merged
BunsDev merged 1 commit intomainfrom
okcode/react-build-error
Apr 18, 2026
Merged

Fix transport snapshots and add Hot Tamale theme#465
BunsDev merged 1 commit intomainfrom
okcode/react-build-error

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 18, 2026

Summary

  • Fix React transport state reads by using a pure snapshot accessor instead of subscribing during render.
  • Add getTransportStateSnapshot to the WebSocket native API and update useTransportState / useConnectionHealth to use it.
  • Add coverage for transport state snapshot behavior and guard against transport-related render loops in the chat surface.
  • Introduce the Hot Tamale theme with dedicated fonts, tokens, and styling updates.

Testing

  • bun fmt
  • bun lint
  • bun typecheck
  • Added/updated hook tests for transport state snapshot reads and connection health subscription behavior.
  • Added a browser-level regression test for mounting the chat surface without a transport render loop.

- Add a pure transport state snapshot for `useSyncExternalStore`
- Stop the connection health hook from self-subscribing during render
- Cover the new snapshot path with hook and chat surface tests
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 18, 2026 6:43pm
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 18, 2026 6:43pm

@github-actions github-actions bot added size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 18, 2026
@BunsDev BunsDev merged commit b4c3c6c into main Apr 18, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant