Skip to content

docs: write framework SDK guides for new integrations - #806

Closed
roncohen wants to merge 1 commit into
mainfrom
docs/standalone-v2-framework-guides
Closed

roncohen wants to merge 1 commit into
mainfrom
docs/standalone-v2-framework-guides

Conversation

@roncohen

@roncohen roncohen commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This PR rewrites the Browser, React, Vue and React Native READMEs as task-based guides for new v2 integrations. npm shows these READMEs, and docs.reflag.com imports them.

  • All four guides follow one outline: get started, read flags, track usage, update context, bootstrap from the server, opt-in, overrides and toolbar, type safety, and configuration.
  • Implementation details are cut, including bootstrap protocol fields, opt-in metadata loading and caching, transport settings and type-system internals. The reference docs cover the API.
  • The React Native guide now follows the same outline as the React guide. It removes the branch-status note and the duplicated v1 migration section; the upgrade guide on docs.reflag.com covers migration.

This is now a README-only change on current main. The earlier SDK code on this branch was already merged into main through #791.

Docs PR reflagcom/docs#31 imports these READMEs. Its example check compiles all 30 documentation examples against the built SDK declarations with no errors.

@roncohen

Copy link
Copy Markdown
Contributor Author

Resolved the three README conflicts and pushed 6055608 plus 185ff69, merging the current framework base (158f36b) and main (604e610) without rewriting history.

Kept the first-time integration structure while preserving the newer v2 bootstrap/live-update requirements, missing opt-in metadata behavior, mutation Response/error handling, and main’s removal of the Vue beta label. No SDK runtime, package-version, or release-policy edits were introduced. The current stacked diff also inherits main’s existing #809 test-reporter change; against main plus #791, only the three SDK READMEs differ.

Validation: canonical docs regeneration with warnings treated as errors; 3 docs-transform tests; 311 runtime tests (Browser 269, React 27, Vue 15) and their compiler programs; evaluator, Node, Browser, React, Vue, and Native builds; scoped formatting, whitespace checks, and normal merge-commit hooks pass.

Left the existing PR target unchanged because #791 remains open. If #791 is squash-merged, sync/rebase onto that actual main merge commit before retargeting; that future sync is not yet complete.

Base automatically changed from feature/browser-framework-sdk-v2 to main November 19, 2026 14:16
roncohen added a commit to reflagcom/docs that referenced this pull request Nov 28, 2026
Re-import Browser, React and Vue from reflagcom/javascript#806 and Node.js
from #807, so the pages are generated from the PR branches rather than the
pins branches. Name Node.js SDK 1.8.4 as the v1 release for the rolling
bootstrap bridge, shorten the tracking and type-generation explanations,
and say SDK v1/v2 rather than protocol v1/v2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace the Browser, React, Vue and React Native READMEs with task-based
guides for new v2 integrations. They share one outline (get started, read
flags, track usage, update context, bootstrap, opt-in, overrides, type
safety, configuration) and leave implementation details to the reference.
@roncohen
roncohen force-pushed the docs/standalone-v2-framework-guides branch from c81c8a0 to de0c564 Compare November 28, 2026 12:26
@roncohen
roncohen marked this pull request as ready for review November 28, 2026 12:26

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: low

no actionable findings

@roncohen

Copy link
Copy Markdown
Contributor Author

Closing in favour of a minimal cleanup that only removes the prerelease wording; the rewrite can be revisited after 2.0.0.

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