-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
I have to modify code in Goban so that it can be built using preact-cli #13
Comments
You’re probably using an old version of preact. Use a version that supports getDerivedStateFromProps, such as 8.4.2. |
Can you build and run the demo? |
Yes, I can. |
I create a new preact project using create-preact-app with material template here and use Goban in shudan. it does not work. Here is the git repository. Also i don't know why the stone does not appeared now, i must be missing something |
In the git repository, you’re using an old version of preact. Are you sure you tried updating preact to 8.4.2? |
I suspect it's a transpilation issue of |
You can test by this repository |
It seems like preact-cli doesn't support |
I got issue about preact build --no-prerender before. it does work now. |
I have to modify code in Goban right this so it can be built in preact-cli without any problems, am i missing something here ?
The text was updated successfully, but these errors were encountered: