infernojs / create-inferno-app

Create Inferno apps with no build configuration.
MIT License
351 stars 34 forks source link

Is this supposed to read "React"? #57

Closed JobLeonard closed 7 years ago

JobLeonard commented 7 years ago

This passage in the readme file has me a bit confused:

Usage with Inferno (through inferno-compat)

You can use Inferno components with create-inferno-app. All you have is to do is install inferno-compat (npm install --save inferno-compat) and Inferno and InfernoDOM will be already aliased to inferno-compat. After installing it you can import any Inferno dependent library or use any code that imports Inferno and that should work fine.

Why wouldn't create-inferno-app work with Inferno out of the box, and isn't inferno-compat meant for React?

Is this the result of an overzealous find/replace or am I missing something?

Havunen commented 7 years ago
Is this the result of an overzealous find/replace or am I missing something?

Yeah, I think its just documentation error.

rendall commented 7 years ago

I almost skipped this library because of that statement. 'inferno-compat'? I thought. 'Won't that slow down the app?'

Havunen commented 7 years ago

I fixed the doc.