Skip to content

Instantly share code, notes, and snippets.

@markodayan
Created February 21, 2020 22:06
Show Gist options
  • Save markodayan/34f21b7cab60a0e385ede6576bfd1add to your computer and use it in GitHub Desktop.
Save markodayan/34f21b7cab60a0e385ede6576bfd1add to your computer and use it in GitHub Desktop.
A collection of various optional modules to use in React
# Route, Link from react
npm install react-router-dom
# Some redux dependencies in React ( also thunk for async actions)
npm install redux react-redux redux thunk
# Firebase and redux middleware for Firebase and its features
npm install firebase react-redux-firebase redux-firestore
# React build and deploying to Netlify
npm run build
netlify deploy --prod
#Firebase Functions deploy (Setting up hosting aswell)
firebase init
firebase deploy --only functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment