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

Issues with Preact #142

Closed
bjarneo opened this issue Jul 8, 2021 · 2 comments
Closed

Issues with Preact #142

bjarneo opened this issue Jul 8, 2021 · 2 comments

Comments

@bjarneo
Copy link

bjarneo commented Jul 8, 2021

I figured out the issue is that preact-compat is not supported for newer versions of preact, as it is built-in. The preact.config.js is also using the built-in preact/compat. However, your demo repository still has preact-compat installed, even though preact should complain if you try to install it. Nevertheless, if you try to remove preact-compat dependency, reinstall the packages, and run the application, it will throw the same errors as from this Reddit thread.

I am not sure how to solve this yet. If you try to add preact-compat by force, it will still throw the error.

Reddit thread: https://www.reddit.com/r/reactjs/comments/oeuspg/mantine_20_is_out_100_hooks_and_components_with/h4diaku/?context=3

@rtivital
Copy link
Member

rtivital commented Jul 8, 2021

Thanks for reporting, I'll try out new version of preact-cli and update the docs

@rtivital
Copy link
Member

The guide was updated, everything now works with newer versions of preact cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants