Coder Social home page Coder Social logo

svilenkov / redux-coffee-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from forresto/redux-coffee-boilerplate

0.0 2.0 0.0 148 KB

Get started with React + Redux + Immutable.js + CoffeeScript + Mocha + webpack

JavaScript 8.77% HTML 23.63% CoffeeScript 67.60%

redux-coffee-boilerplate's Introduction

redux-coffee-boilerplate Build Status

Get started with React + Redux + Immutable.js + CoffeeScript + Mocha + webpack

concepts

  • Action types are defined in src/Types.coffee
  • Action generators for convenience are defined in src/actions/
  • To trigger an action, call state.dispatch(action)
  • Only src/components/Root.cjsx deals with Redux and Immutable
    • The rest of the components should only deal with props
  • Everything that mutates state must happen in src/reducers/
  • The shape of the state is defined in the reducers

develop

npm start, then open

Changes should hot-reload on save. Compile errors go to browser console.

redux-devtools will render dispatched actions as a list that you can step through and toggle.

build

npm run build

  • /demo/index.html is the static-built demo
  • /test/runner.html is the static-built test runner

uses

redux-coffee-boilerplate's People

Contributors

forresto avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.