Unverified Commit aa5f918c authored by 38elements's avatar 38elements Committed by GitHub

Update Preact Example (#10380)

parent db90ffe1
# Preact example # Preact example
This example uses [Preact](https://github.com/developit/preact) instead of React. It's a React like UI framework which is fast and small. Here we've customized Next.js to use Preact instead of React. This example uses [Preact](https://github.com/preactjs/preact) instead of React. It's a React like UI framework which is fast and small. Here we've customized Next.js to use Preact instead of React.
Here's how we did it: Here's how we did it:
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
"dependencies": { "dependencies": {
"module-alias": "2.2.2", "module-alias": "2.2.2",
"next": "latest", "next": "latest",
"preact": "10.0.0", "preact": "10.2.1",
"preact-render-to-string": "5.0.7" "preact-render-to-string": "5.1.4"
}, },
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment