yuchi / hooks.macro

☔️ Babel Macros for automatic React Hooks memoization invalidation
MIT License
357 stars 5 forks source link

Support React 17? #27

Closed vitexikora closed 11 months ago

vitexikora commented 2 years ago

Peer dependencies mention only React 16.8. This makes it impossible to install in Node 16+ without legacy-peer-deps flag.. 😢

adrianhelvik commented 2 years ago

The react version in devDependencies should be changed to >=16.8.0 <=18.*.*. React supports the hooks this macro uses in all those versions.

@yuchi

adrianhelvik commented 2 years ago

Fixed in PR #29

vitexikora commented 1 year ago

Can you please merge it @yuchi ?

yuchi commented 11 months ago

Should have been fixed in v1.2.0. Sorry for the delay and for not having merged your PR. PS: In future contributions do NOT upgrade the version please

vitexikora commented 11 months ago

Thanks! Finally can get rid off legacy-peer-deps...