/ReactPatterns

Primary LanguageJavaScriptMIT LicenseMIT

ReactPatterns

A collection of simple react projects providing reusable components, startup and test examples. Its my react playground. I am now using webpack and babel for the build tool chain.

August 2016 - I have added linting with eslint. The linting rules are in .eslintrc.js.

React.15

  • Basic
  • Basic Isometric/Universal
  • Basic unit test with Mocha, Chai and Enzyme
  • Drag and Drop
  • Redux Electron
  • Redux Fetch ajax
  • Redux WebSocket
  • ReFlux Pages
  • ReFlux SuperAgent ajax
  • ThirdParty
  • GoogleMaps
  • Radium
  • Window Events
  • Window Object

React.15.Common

  • Buttons
  • DropDown
  • Form Inputs
  • Gallery
  • List
  • ProgressBar
  • Range slider
  • Tooltip
  • TreeView

The basics

Open two terminals at the desired project root. I use iTerm on Mac, ConEmu on Windows 10. First time do "npm install". On the React.15 projects in one terminal "npm run ww". In the other terminal "npm start". In your browser localhost:3500. All projects use the same port. If you want to do it with one terminal session you can run "npm run nw" for no watch.

CodeViewer is running at http://calitek.com/.