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+