Skip to content

Commit

Permalink
Add warning about hooks and suspense support
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelalmeidatk committed Oct 15, 2019
1 parent ece656f commit 05be49b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/using-inferno/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Hello World example
# Inferno example

> **Important**: Inferno does not support hooks nor Suspense. It may work on development where React is utilized instead of Inferno, but it will break as soon as you try to build it or start it out of development.
## How to use

Expand Down Expand Up @@ -39,7 +41,7 @@ now

## The idea behind the example

This example uses [Inferno](https://github.com/infernojs/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.
This example uses [Inferno](https://github.com/infernojs/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 in the production build.

Here's how we did it:

Expand Down

0 comments on commit 05be49b

Please sign in to comment.