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

feat: improved context types and errors #191

Merged
merged 7 commits into from
Sep 27, 2023
Merged

Conversation

JDMathew
Copy link
Collaborator

This PR improves our error report for context so that useContext always returns the correct context if in a provider. It also updates the AMAProvider Types to be more accurate and fixes some tests.

@JDMathew JDMathew self-assigned this Sep 25, 2023
@vercel
Copy link

vercel bot commented Sep 25, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-ama ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 25, 2023 3:27pm

@JDMathew JDMathew merged commit accf6b1 into split-ama Sep 27, 2023
1 of 2 checks passed
@JDMathew JDMathew deleted the feat/improved-context branch September 27, 2023 02:00
@JDMathew JDMathew linked an issue Sep 27, 2023 that may be closed by this pull request
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.

feat: Improve context types and errors
1 participant