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: support React 18 #138

Merged
merged 3 commits into from Mar 31, 2022
Merged

fix: support React 18 #138

merged 3 commits into from Mar 31, 2022

Conversation

MarcMcIntosh
Copy link
Contributor

@MarcMcIntosh MarcMcIntosh commented Mar 30, 2022

Types of changes

  • Chore (a non-breaking change which is related to package maintenance)
  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

This PR updates @prismicio/react's React peer dependency to support React 18.

The package continues to support React >= 16.8, 17, and 18.

Note: no changes to the package's code was needed. This PR merely updates dependencies and the declared peer dependency.

Checklist:

  • My change requires an update to the official documentation.
  • All TSDoc comments are up-to-date and new ones have been added where necessary.
  • All new and existing tests are passing.

@github-actions
Copy link

github-actions bot commented Mar 30, 2022

size-limit report 📦

Path Size
dist/index.js 4.43 KB (0%)
dist/index.cjs 6.31 KB (0%)

@codecov-commenter
Copy link

codecov-commenter commented Mar 30, 2022

Codecov Report

Merging #138 (5b97dad) into master (50ed2f0) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #138   +/-   ##
=======================================
  Coverage   92.36%   92.36%           
=======================================
  Files          16       16           
  Lines         275      275           
  Branches       64       64           
=======================================
  Hits          254      254           
  Misses          5        5           
  Partials       16       16           

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 50ed2f0...5b97dad. Read the comment docs.

@aaron5670
Copy link

Looking forward for this PR 👀

@angeloashmore
Copy link
Member

Thanks @MarcMcIntosh! This should be a straightforward update, so I plan to publish this sometime today or tomorrow.

@angeloashmore angeloashmore changed the title Update peer-deps to include react version 18 fix: support React 18 Mar 31, 2022
@angeloashmore angeloashmore merged commit 3c09fc3 into master Mar 31, 2022
@angeloashmore angeloashmore deleted the MarcMcIntosh-patch-1 branch March 31, 2022 03:26
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.

None yet

4 participants