Closed patrickbenjamin1 closed 2 years ago
Thanks for the report, @patrickbenjamin1! I just published a fix that adds React 18 support. You can see the changes here: #508
Could you update to the following package version?
gatsby-plugins-prismic-previews
: v5.2.8
If this doesn't fix the issue, please let me know and I'll take another look. Thanks!
Is your feature request related to a problem? Please describe.
npm install gives a peer dependency error when using React 18
As there are no breaking changes in React 18 that should effect this package, forcing works fine, but this error is a shame
Describe the solution you'd like
Add React 18 to accepted peer dependencies
Describe alternatives you've considered
Using --force when installing the package