Skip to content

Instantly share code, notes, and snippets.

View TwirlingTechGoddess's full-sized avatar
:electron:
Working hard

LeeLee James TwirlingTechGoddess

:electron:
Working hard
View GitHub Profile
On any npm package you can use -S to save to dependency and -D to save to dev-dependency
-g can be used to install globally
Basic React installs from scratch
npm i -S react react-dom redux react-redux react-router-dom redux-devtools-extension
Basic React installs using create react app
React: create-react-app <name> --use -npm
React/Redux: npm i -S redux react-redux
React-Router: npm i -S react-router-dom
On any npm package you can use -S to save to dependency and -D to save to dev-dependency
-g can be used to install globally
Basic React installs
React: create-react-app <name> --use -npm
React/Redux: npm i -S redux react-redux
React-Router: npm i -S react-router-dom
Redux-Devtools Extension: npm i -S redux-devtools-extension
Redux-Thunk: npm i -S redux-thunk