-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Add a preact example. #543
Conversation
|
||
## How to use | ||
|
||
Download the example (or clone the repo)[https://github.com/zeit/next.js.git]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.git
not needed here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just copied this from the hello-world example. May be we need to change this for all examples. Shall we do it with another PR?
Yes |
Oh man, I was waiting to open this same PR 😉 |
Thanks @lukeed ;) |
@arunoda, @rauchg
I wanted to test if this is actually loading I haven't used |
What libary is providing that |
One by @gaearon IIRC |
Ahh perhaps React Hot Loader. |
I'm having a little difficulty using Preact with my next.js app.
I think the problem is related to React Hot Loader, with the error being thrown here: https://github.com/gaearon/react-hot-loader/blob/next/src/patch.dev.js#L166 Have you come across this before? |
hmm - perhaps enable |
That's exactly what I thought at first, but it doesn't make any difference. Apologies, I should have mentioned that I'd tried that already. :-) |
Added an example using
preact-compat
.Here's the live version: https://hello-world-nrqihmdggp.now.sh/