immerjs / use-immer

Use immer to drive state with a React hooks
MIT License
4.04k stars 92 forks source link

Add React 18 as peer dependency. #98

Closed syhily closed 1 year ago

syhily commented 2 years ago
npm ERR! Found: react@18.0.0
npm ERR! node_modules/react
npm ERR!   react@"^18.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0 || ^17.0.1" from use-immer@0.6.0
npm ERR! node_modules/use-immer
npm ERR!   use-immer@"^0.6.0" from the root project
mweststrate commented 2 years ago

PR welcome

On Wed, 30 Mar 2022, 17:43 Yufan Sheng, @.***> wrote:

npm ERR! Found: @. npm ERR! node_modules/react npm ERR! react@"^18.0.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.8.0 || ^17.0.1" from @. npm ERR! node_modules/use-immer npm ERR! use-immer@"^0.6.0" from the root project

— Reply to this email directly, view it on GitHub https://github.com/immerjs/use-immer/issues/98, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN4NBHCE7B4RX27HHB455DVCSACJANCNFSM5SCQ7F2Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>

wereHamster commented 2 years ago

It seems as if tag 0.7.0 includes the change but the tag itself not available on github. Did you forget to push it?

baringji commented 2 years ago

Agree, tag/release not available on github

mweststrate commented 1 year ago

Was released in 0.7