Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split package into @reaml/react and @reaml/preact #7

Open
utkarshkukreti opened this issue Apr 18, 2020 · 0 comments
Open

Split package into @reaml/react and @reaml/preact #7

utkarshkukreti opened this issue Apr 18, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@utkarshkukreti
Copy link
Owner

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.

@utkarshkukreti utkarshkukreti added the enhancement New feature or request label Apr 18, 2020
@utkarshkukreti utkarshkukreti self-assigned this Apr 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant