Thursday 26 October 2017

Installing submodules with npm?

I am wanting to use an experimental feature of react called react-call-return. Install react using npm i react@latest doesn't include react-call-return.How can I pull the package from the react repo and use it in my current react project? Is it possible with npm?Initially I cloned the react repo and copied the react-call-return package to my lib/ directory but I have a feeling that's just a bad idea and there's a "better" way to do this.Is there a way to install this submodule with npm?

Submitted October 26, 2017 at 01:20PM by VeryOldFilms

No comments:

Post a Comment