Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Niko/react native template update #548

Merged
merged 27 commits into from
Jan 17, 2025
Merged

Conversation

nikomancy
Copy link
Contributor

@nikomancy nikomancy commented Dec 10, 2024

Updating the React Native SDK docs to use the new template for SDK docs.

Dependent on the Docusaurus 2.x -> 3.x update. Don't merge until that is in.

Copy link

netlify bot commented Dec 10, 2024

Deploy Preview for eppo-data-docs ready!

Name Link
🔨 Latest commit 57887be
🔍 Latest deploy log https://app.netlify.com/sites/eppo-data-docs/deploys/678a9fc9e797d50008e711a6
😎 Deploy Preview https://deploy-preview-548--eppo-data-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

…bandits aren't in the client SDKs per the spreadsheet.
Copy link
Contributor

@aarsilv aarsilv left a comment

Choose a reason for hiding this comment

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

Thanks for going over the React Native docs as well! Lots of great changes in here 👏

I left a bunch of comments but am requesting changes for a few main reasons:

  1. We should remove the old React Native section
  2. Currently, React Native SDK doesn't support persistent caching; we should remove all references
  3. There are some initialization options not yet exposed to React Native SDK that we should remove

docs/sdks/client-sdks/react-native/assignment.mdx Outdated Show resolved Hide resolved
docs/sdks/client-sdks/react-native/assignment.mdx Outdated Show resolved Hide resolved
<FeatureCard
title="API Reference"
description="Reference for all SDK methods."
link="https://github.com/Eppo-exp/react-native-sdk"
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not an API reference. These docs themselves are basically the API reference

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We do have the API reference docs generated for the generic JS client which, if I understand correctly, is shared between the JS, Node, and React Native SDKs, right? So I figured pointing towards it would be okay and possibly helpful. I can remove this if that is not the case. Let me know what you would prefer.

docs/sdks/client-sdks/react-native/initialization.mdx Outdated Show resolved Hide resolved
docs/sdks/client-sdks/react-native/initialization.mdx Outdated Show resolved Hide resolved
docs/sdks/client-sdks/react-native/initialization.mdx Outdated Show resolved Hide resolved
docs/sdks/client-sdks/react-native/initialization.mdx Outdated Show resolved Hide resolved


## Advanced Configuration
Basic initialization is great for most use cases, but the SDK provides options that you can use during initialization to customize the behavior of the SDK.
Copy link
Contributor

Choose a reason for hiding this comment

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

We also have a baseUrl option which is where the SDK fetches configurations from. Some customers override this went they proxy configuration requests.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've added an ApiOptionReference component for that in the commit I'm about to push. Could you check it and confirm that everything is in order?

@aarsilv aarsilv assigned nikomancy and unassigned aarsilv Dec 20, 2024
* Updating redirects
* Update to include
* LandingPageC => ControlLandingPage
* Fixing weird User assignment issue.
* Making quotation use in code samples consistently " instead of '
* Remove Skip Initial Request, Update on Fetch, Use Expired Cache API Option Refs
* Removing Offline Mode and Config Caching.
* Adding BaseURL
* Adding Integer as an option
@nikomancy
Copy link
Contributor Author

@aarsilv I think I've hit all of the updates you requested. Let me know if you're cool with me merging.

Last steps for me are to deal with the merge conflicts in the redirect file and possibly rebase if any other conflicts exist. Otherwise, this should be good to go.

@nikomancy
Copy link
Contributor Author

Looks like no merge conflicts. We're good to merge whenever.

@nikomancy nikomancy merged commit 0dfd6af into main Jan 17, 2025
4 checks passed
@nikomancy nikomancy deleted the niko/react-native-template-update branch January 17, 2025 18:25
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.

3 participants