You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Right now the only way to use Preact instead of React is to alias
react
andreact-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 fromreact
andreact-dom
and the other frompreact
andpreact/hooks
.The text was updated successfully, but these errors were encountered: