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

fix: move usage of React Context out of core package #3578

Merged
merged 6 commits into from
May 7, 2022

Conversation

TkDodo
Copy link
Collaborator

@TkDodo TkDodo commented May 2, 2022

fixes #3542

TkDodo added 6 commits May 2, 2022 15:52
so that we can import them in core
because they render a component
so that we can't import anything into `core` that lives in other packages, like reactjs
by keeping HydrateOptions separate from React, and only add ContextOptions where necessary
@vercel
Copy link

vercel bot commented May 2, 2022

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

Name Status Preview Updated
react-query ✅ Ready (Inspect) Visit Preview May 2, 2022 at 3:31PM (UTC)

@TkDodo
Copy link
Collaborator Author

TkDodo commented May 2, 2022

@DamianOsipiuk fyi

@codesandbox-ci
Copy link

codesandbox-ci bot commented May 2, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 690a187:

Sandbox Source
tannerlinsley/react-query: basic Configuration
tannerlinsley/react-query: basic-typescript Configuration

@codecov
Copy link

codecov bot commented May 2, 2022

Codecov Report

Merging #3578 (690a187) into beta (fdbc002) will increase coverage by 0.00%.
The diff coverage is 96.87%.

@@           Coverage Diff           @@
##             beta    #3578   +/-   ##
=======================================
  Coverage   96.93%   96.93%           
=======================================
  Files          47       48    +1     
  Lines        2381     2382    +1     
  Branches      709      709           
=======================================
+ Hits         2308     2309    +1     
  Misses         71       71           
  Partials        2        2           
Impacted Files Coverage Δ
src/core/hydration.ts 100.00% <ø> (ø)
src/reactjs/tests/utils.tsx 100.00% <ø> (+2.27%) ⬆️
src/tests/utils.ts 96.66% <96.66%> (ø)
src/reactjs/Hydrate.tsx 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fdbc002...690a187. Read the comment docs.

@TkDodo TkDodo added the v4 label May 2, 2022
@TkDodo TkDodo merged commit 6379654 into TanStack:beta May 7, 2022
@TkDodo TkDodo deleted the feature/fix-core-dependencies-to-react branch May 7, 2022 17:26
@tannerlinsley
Copy link
Collaborator

🎉 This PR is included in version 4.0.0-beta.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants