Ref: https://twitter.com/finneganswoke/status/828060921918529536
I think it's a pretty good idea to let the app to give us react and react-dom.
2.0 is a best place to do this, since this is a breaking change.
What do you guys think? @nkzawa @rauchg
馃憤 Actually, this is something I wanted to do from the first release.
I like this 馃憤 Only downside would be that you'd have to npm install --save next react react-dom but that's ok 馃槃
@timneutkens I think that's totally fine. But we need to update a lot of examples :)
@eezing yep
@arunoda, @nkzawa Sorry. . . deleted my previous comment by mistake. You confirmed that $ npm install next react react-dom are required for $ node_modules/.bin/next to run.
There's something very appealing about a single dependency: next. It's a breath of fresh air if you ask me. Considering Next is a framework, it seems totally reasonable to keep react & react-dom as a hard dependency by default.
@eezing We used to have the idea of "default React" which would be used if you didn't explicitly install React on your app. We can discuss that or any other possibilities.
Most helpful comment
馃憤 Actually, this is something I wanted to do from the first release.