Skip to content

feat(snippets): add react-native-client-sdk/sdk-docs install-the-sdk shell canonicals#437

Closed
kinyoklion wants to merge 1 commit into
mainfrom
rlamb/sdk-docs-install-react-native-client-sdk
Closed

feat(snippets): add react-native-client-sdk/sdk-docs install-the-sdk shell canonicals#437
kinyoklion wants to merge 1 commit into
mainfrom
rlamb/sdk-docs-install-react-native-client-sdk

Conversation

@kinyoklion
Copy link
Copy Markdown
Member

One of 9 stacked sdk-meta PRs that unblock ld-docs-private PR #7592. Once this lands, #7592 gets updated to insert SDK_SNIPPET:RENDER markers pointing at these canonicals.

Snippets

Two reference fragments under snippets/sdks/react-native-client-sdk/snippets/sdk-docs/. Both bodies preserve the 2-space leading indentation of their MDX context (the parent ordered list inside ### Install the SDK).

install-the-sdk-installing-react-native-sdk-v10.snippet.md

Body (verbatim from fern/topics/sdk/client-side/react/react-native/index.mdx lines 118-121):

  yarn add @launchdarkly/react-native-client-sdk

  # optional observability plugin, requires React Native SDK v10.10+
  yarn add @launchdarkly/observability-react-native

install-the-sdk-adding-the-async-storage-dependency.snippet.md

Body (verbatim from fern/topics/sdk/client-side/react/react-native/index.mdx line 136):

  yarn add @react-native-async-storage/async-storage

Where the markers land

After this merges, ld-docs PR #7592 inserts markers before the existing <CodeBlock title='Installing, React Native SDK v10'> (line 115) and <CodeBlock title='Adding the async storage dependency'> (line 133) at fern/topics/sdk/client-side/react/react-native/index.mdx.

No validation: blocks: shell install fragments, runtime validation isn't required and would need shell-install harness work that's out of scope for this PR (see #423/#428).

…shell canonicals

Captures both shell-install bodies verbatim from ld-docs-private's
React Native SDK reference page (the v10 yarn add for the SDK +
observability plugin, and the async storage dependency yarn add) so
the markers in ld-docs PR #7592 have canonicals to render from. Both
bodies preserve the 2-space MDX indentation as their parent ordered
list expects.
@kinyoklion
Copy link
Copy Markdown
Member Author

Superseded by #439 — combining all 9 SDK install canonicals into a single PR per the user's intent.

@kinyoklion kinyoklion closed this May 8, 2026
@kinyoklion kinyoklion deleted the rlamb/sdk-docs-install-react-native-client-sdk branch May 8, 2026 22:24
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