9gustin / react-notion-render

A library to render notion pages
MIT License
145 stars 20 forks source link

Unable to Resolve Dependency Tree Error #161

Closed bytrangle closed 2 years ago

bytrangle commented 2 years ago

I'm using the latest Next.js template, so that means it uses React ^18.0. I got the Dependency Tree error when installing this package, because it uses React ^17.0.

I worked around that by adding the flag legacy-peer-deps, but what's your recommended solution?

9gustin commented 2 years ago

Im going to update the version of peerDependencies

9gustin commented 2 years ago

@bytrangle hey! i have released 3.10.0-beta.1, this update all package libraries, including react peerDependency. If you want you can test it by now in beta and im going to release as final in these days.

install it with yarn add @9gustin/react-notion-render@beta

And tell me if you see something wrong 💖

bytrangle commented 2 years ago

Thank you. Awesome job!