Split package into @reaml/react and @reaml/preact
utkarshkukreti opened this issue · 0 comments
utkarshkukreti commented
Right now the only way to use Preact instead of React is to alias react
and react-dom
in the bundler used. I think it would be better if there were 2 packages, both exporting the same modules/functions, one which imports from react
and react-dom
and the other from preact
and preact/hooks
.