Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 540 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 540 Bytes

So you're a Preact user, but want to use some React libraries with it. You wanted to set up aliases or something, but can't do it for some reason. The solution is simple, though:

yarn add preact
yarn add lnguyenfx/react lnguyenfx/react-dom

Or if you're not a fan of yarn:

npm i -S preact
npm i -S lnguyenfx/react lnguyenfx/react-dom

Forked from preact-compat/react in order to support preact 10.0+