Gatsby: Inferno v6 build succeed with gatsby

Created on 6 Oct 2018  路  7Comments  路  Source: gatsbyjs/gatsby

Hello this is not an issue but an experience,
Just to say i succeed to make working gatsby and inferno together.

The only thing in dev inferno cannot use hot-reload but everything work well with some little hack in core. (just some alias and turn around hot-reload in webpack.conf)
the react16 context work well, just fragment is still not well supported
I can share my experience.
:)

stale?

Most helpful comment

Just done here. I made as simple as possible
https://github.com/simonjoom/gatsby-starter-inferno-master
Description to install and use in readme.
"npm run inferno" to start running inferno mode development
"npm run develop" run normal gatsby mode
"npm run build" build with inferno (no react)

The home page change depending the mode used

In readme i described the files changed in the goal to create a plugin from it.

The gatsby version used is the latest v2 . the gatsby hacked source file are in folder gatsbyhack in root of this repo

I did a video of this feature working here:
https://github.com/simonjoom/gatsby-starter-inferno-master/video.mp4

All 7 comments

Hey nifty! You want to create and share a repo with all this working? That'd be fun to see!

i can share sure. The thing is my repo is little big, i need to do one light type hello-world inferno

Just done here. I made as simple as possible
https://github.com/simonjoom/gatsby-starter-inferno-master
Description to install and use in readme.
"npm run inferno" to start running inferno mode development
"npm run develop" run normal gatsby mode
"npm run build" build with inferno (no react)

The home page change depending the mode used

In readme i described the files changed in the goal to create a plugin from it.

The gatsby version used is the latest v2 . the gatsby hacked source file are in folder gatsbyhack in root of this repo

I did a video of this feature working here:
https://github.com/simonjoom/gatsby-starter-inferno-master/video.mp4

Hello now Fragment is supported in last release of inferno-v6-rc3

Hello , ok now the stable version inferno-v6 is out )) correctly tested
it's live with my gatsby repo published here: https://www.ski-courchevel.deals ))

Old issues will be closed after 30 days of inactivity. This issue has been quiet for 20 days and is being marked as stale. Reply here or add the label "not stale" to keep this issue open!

Hey again!

It鈥檚 been 30 days since anything happened on this issue, so our friendly neighborhood robot (that鈥檚 me!) is going to close it.

Please keep in mind that I鈥檓 only a robot, so if I鈥檝e closed this issue in error, I鈥檓 HUMAN_EMOTION_SORRY. Please feel free to reopen this issue or create a new one if you need anything else.

Thanks again for being part of the Gatsby community!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rossPatton picture rossPatton  路  3Comments

ferMartz picture ferMartz  路  3Comments

Oppenheimer1 picture Oppenheimer1  路  3Comments

signalwerk picture signalwerk  路  3Comments

brandonmp picture brandonmp  路  3Comments