-
Notifications
You must be signed in to change notification settings - Fork 39
feat(expo): update utility import locations for each expo version #417
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
Conversation
WalkthroughThe documentation for Token Utilities in the Expo SDK was updated to clarify that only selected utility functions are available, not all. It now specifies function availability based on Expo SDK versions and updates the import instructions accordingly. Changes
Suggested labels
Suggested reviewers
Possibly related PRs
Poem
Note ⚡️ AI Code Reviews for VS Code, Cursor, WindsurfCodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback. Note ⚡️ Faster reviews with cachingCodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 16th. To opt out, configure 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
src/content/docs/developer-tools/sdks/native/expo.mdx (1)
118-122
: Fix typos and improve clarity in the Token Utilities sectionPlease correct "selction" → "selection", remove the duplicated "from", adjust verb agreement, and consider reformatting as a bullet list for readability:
- A selction of utility functions are available. -*Expo 53+*: Importable from from `@kinde/expo/utils` and from `useKindeAuth` hook -*Expo 51 and 52*: Importable from from `@kinde/js-utils` and from `useKindeAuth` hook +A selection of utility functions is available: + +- **Expo 53+**: Import from `@kinde/expo/utils` or via the `useKindeAuth` hook +- **Expo 51 and 52**: Import from `@kinde/js-utils` or via the `useKindeAuth` hook🧰 Tools
🪛 LanguageTool
[duplication] ~120-~120: Possible typo: you repeated a word.
Context: ...are available. Expo 53+: Importable from from@kinde/expo/utils
and from `useKindeA...(ENGLISH_WORD_REPEAT_RULE)
[duplication] ~121-~121: Possible typo: you repeated a word.
Context: ...Authhook *Expo 51 and 52*: Importable from from
@kinde/js-utilsand from
useKindeAut...(ENGLISH_WORD_REPEAT_RULE)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
src/content/docs/developer-tools/sdks/native/expo.mdx
(1 hunks)
🧰 Additional context used
🪛 LanguageTool
src/content/docs/developer-tools/sdks/native/expo.mdx
[duplication] ~120-~120: Possible typo: you repeated a word.
Context: ...are available. Expo 53+: Importable from from @kinde/expo/utils
and from `useKindeA...
(ENGLISH_WORD_REPEAT_RULE)
[duplication] ~121-~121: Possible typo: you repeated a word.
Context: ...Authhook *Expo 51 and 52*: Importable from from
@kinde/js-utilsand from
useKindeAut...
(ENGLISH_WORD_REPEAT_RULE)
Deploying kinde-docs-previews with
|
Latest commit: |
c6846d2
|
Status: | ✅ Deploy successful! |
Preview URL: | https://bc3f33bc.kinde-docs-previews.pages.dev |
Branch Preview URL: | https://feat-update-expo.kinde-docs-previews.pages.dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few small copy changes
Description (required)
Due to the underlying version of node under earlier version of Expo, different way to import the token helpers is required.
Summary by CodeRabbit