Skip to content
Branch: master
Find file History
#6151 Compare This branch is 137 commits behind canary.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Hello World example

How to use

Using create-next-app

Execute create-next-app with Yarn or npx to bootstrap the example:

npx create-next-app --example using-inferno using-inferno-app
# or
yarn create next-app --example using-inferno using-inferno-app

Download manually

Download the example:

curl | tar -xz --strip=2 next.js-canary/examples/using-inferno
cd using-inferno

Install it and run:

npm install
npm run dev
# or
yarn dev

Deploy it to the cloud with now (download)


The idea behind the example

This example uses Inferno, an insanely fast, 9kb React-like library for building high-performance user interfaces on both the client and server. Here we've customized Next.js to use Inferno instead of React.

Here's how we did it:

  • Use next.config.js to customize our webpack config to support inferno-compat
You can’t perform that action at this time.