feat(qwik): major expansion + Angular in getting-started guide#342
Open
vamgan wants to merge 1 commit into
Open
feat(qwik): major expansion + Angular in getting-started guide#342vamgan wants to merge 1 commit into
vamgan wants to merge 1 commit into
Conversation
Brings @askable-ui/qwik from 2 hooks to 15+: New hooks: - useAskableSource — base source registration with useVisibleTask$ lifecycle - useAskableStream — streaming LLM responses with reactive signals - useAskableChat — multi-turn chat with automatic context injection - useAskableHistory — focus history with deduplication - useAskablePageSource — document title, URL, headings - useAskableNavigationSource — route history - useAskableFormSource — form field values and validation - useAskableTableSource — data grid rows/columns/selection - useAskableUserSource — authenticated user identity - useAskableErrorSource — recent application errors - useAskableNotificationSource — active toasts and alerts - useAskableCartSource — shopping cart with add/remove/update - useAskableMultistepSource — wizard/stepper progress useAskable updated to share a global context cache by key (matching React/Solid behaviour) so all hooks in the same page use the same context.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@askable-ui/qwikgoes from 2 hooks to 15+ — adds sources, streaming, chat, and history so Qwik apps have the same core capabilities as React/Vue/Svelte.useAskablenow shares a single context instance per key (matching React/Solid behaviour) so all source hooks in the same page read from the same focus stream without requiring manualctxpassing.New Qwik hooks
useAskableSourceuseAskableStreamcontent/statussignalsuseAskableChatuseAskableHistoryuseAskablePageSourceuseAskableNavigationSourceuseAskableFormSourceuseAskableTableSourceuseAskableUserSourceuseAskableErrorSourceuseAskableNotificationSourceuseAskableCartSourceuseAskableMultistepSourceAll source hooks use
useVisibleTask$for browser-only registration and return QwikuseSignalvalues for reactive rendering.Test plan
cd packages/qwik && npm run build— tsc should compile without errors/guide/getting-startedGenerated by Claude Code