Skip to content

docs: add React Native framework guide - #348

Merged
vamgan merged 1 commit into
mainfrom
claude/react-native-guide
Jun 28, 2026
Merged

vamgan merged 1 commit into
mainfrom
claude/react-native-guide

Conversation

@vamgan

@vamgan vamgan commented Jun 28, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Adds the missing React Native framework guide. RN is featured on the homepage and getting-started tabs and ships a full adapter package, but had only an API reference — no narrative guide — and it was absent from the Framework Guides sidebar.

What's included

  • New site/docs/guide/react-native.md — covers the RN adapter's press-driven model (distinct from the web adapters):
    • Explicit ctx (no global context, unlike the web bindings)
    • <Askable> wrapping a single pressable, with nested-ancestor hierarchy
    • useAskableScreen (React Navigation useIsFocused integration)
    • List viewability via useAskableVisibility → onViewableItemsChanged
    • useAskableScrollView measurement + createOnItemLayout
    • Custom sources, streaming/chat (with the RN fetch no-stream-body caveat), agent requests
  • Wired into the Framework Guides sidebar and the homepage start-list.

Notes

  • Every API was verified against package source. While writing I caught and removed a phantom createAskableStaticSource reference, replacing it with the real AskableContextSource object pattern.
  • Docs-only; no code or dependency changes.

Test plan

  • vitepress build clean (no dead links) — the same check the CI preview job runs
  • CI preview/build green

🤖 Generated with Claude Code

RN was featured on the homepage and getting-started tabs but had no framework
guide (only an API reference). Adds a narrative guide covering the press-driven
model: explicit ctx, <Askable> pressables, useAskableScreen, list viewability,
ScrollView measurement, custom sources, streaming/chat, and agent requests.
Wires it into the Framework Guides sidebar and the homepage start list.
@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
askable Ready Ready Preview, Comment Jun 28, 2026 4:11pm

@vamgan
vamgan merged commit 13b443e into main Jun 28, 2026
3 checks passed
@vamgan
vamgan deleted the claude/react-native-guide branch June 28, 2026 18:34

This branch was successfully deployed

1 active deployment
Preview — ce95a236 Deployed Jun 28, 2026 by vercel[bot]
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.

2 participants