Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelalmeidatk committed Oct 15, 2019
1 parent 1479f46 commit fdca53f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/using-preact/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Hello World example
# Preact example

## How to use

Expand Down Expand Up @@ -43,4 +43,5 @@ This example uses [Preact](https://github.com/developit/preact) instead of React

Here's how we did it:

- Use `next.config.js` to customize our webpack config to support [preact-compat](https://github.com/developit/preact-compat)
- Use `next.config.js` to customize our webpack config by aliasing React to `preact/compat`
- Use `server.js` to make our server use Preact by aliasing React to `preact/compat`

0 comments on commit fdca53f

Please sign in to comment.