Skip to content

Tiny Sunny: the hook is useChat - #84

Merged
amitbardos merged 2 commits into
amitb/tiny-sunny-on-hookfrom
amitb/tiny-sunny-use-chat
Oct 21, 2026
Merged

amitbardos merged 2 commits into
amitb/tiny-sunny-on-hookfrom
amitb/tiny-sunny-use-chat

Conversation

@amitbardos

@amitbardos amitbardos commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Stacked on #79. Review that first.

@base44/platform drops the Base44 prefix from its React entry (base44/javascript-sdk#345). This switches Tiny Sunny's Chat.tsx to the new names: useChat, UseChatResult and ChatBackend.

Dependency

@base44/platform 0.5.0 is published, and this moves package.json, examples/white-label-minimal/package.json and the lockfile to ^0.5.0. 0.5.0 has no aliases for the old names, so the version bump and the renames land together here. #79 works on 0.4.0 as it is.

Testing

Against the published @base44/platform 0.5.0:

  • npm run typecheck -w @base44/white-label-minimal and the root npm run typecheck pass.
  • ESLint is clean on examples/white-label-minimal. The root npm run lint fails the same way with and without this change.

🤖 Generated with Claude Code

amitbardos and others added 2 commits October 21, 2026 11:40
@base44/platform drops the Base44 prefix from its React entry (base44/javascript-sdk#345),
so Chat.tsx uses useChat, UseChatResult and ChatBackend.

The new names ship in 0.5.0; the dependency moves to ^0.5.0 once it is published.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0.5.0 is published with the new React names, so the dependency and the lockfile move to it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@amitbardos
amitbardos merged commit 8717657 into amitb/tiny-sunny-on-hook Oct 21, 2026
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.

1 participant