Skip to content

docs: import the v1-based v2 SDK READMEs - #33

Open
roncohen wants to merge 3 commits into
mainfrom
docs/reimport-v1-based-readmes
Open

roncohen wants to merge 3 commits into
mainfrom
docs/reimport-v1-based-readmes

Conversation

@roncohen

@roncohen roncohen commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

What

Imports the React, Browser, Vue, Node.js and React Native SDK READMEs from reflagcom/javascript main (6f9623f). After reflagcom/javascript#852, #853, #854 and #855, each v2 README follows its v1 guide and changes only what's different in v2, so the v2 SDK pages now look like the v1 pages.

Changes

  • SDK pages and manifests: re-imported for all five SDKs. The manifests record 6f9623f.
  • New image: supported-languages/_media/type-check-failed.png, which the Node.js README references for its type-check example.
  • Updated links: five pages linked to sections that existed only in the old v2 READMEs. They now point to the matching v1 sections:
Old anchor New anchor Pages
React #bootstrap-and-ssr #server-side-rendering-and-bootstrapping service-resiliency.md, next.js.md
Browser #server-bootstrap #server-side-rendering-and-bootstrapping service-resiliency.md
Browser #overrides-and-toolbar #toolbar toggle-toolbar-with-a-flag.md
Browser #events #event-listeners integrations/overview.md
Vue #bootstrap #reflagbootstrappedprovider-component service-resiliency.md
Node.js #bootstrap-the-browser #bootstrapping-client-side-applications service-resiliency.md
Node.js #fallback-providers #fallback-provider service-resiliency.md, migrating-from-v1.md, next.js.md

Checks

  • node .github/scripts/check-sdk-docs.mjs passes, including the anchor check.
  • node --test .github/scripts/sdk-docs.test.mjs .github/scripts/sdk-docs-site.test.mjs: 24 passed.
  • check-sdk-examples.cjs: all 30 examples compile against the recorded sources.

@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: medium

1 actionable finding; 2 optional refactor suggestions.

Comment thread supported-languages/node-sdk/README.md Resolved
Comment thread sdk/@reflag/node-sdk/README.md Resolved
Comment thread supported-languages/node-sdk/README.md Resolved

@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: medium

1 actionable finding.

Comment thread supported-languages/node-sdk/README.md Resolved
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