GithubHelp home page GithubHelp logo

export-mike / react-redux-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
89.0 4.0 15.0 28 KB

A react, redux, webpack, css modules, postcss, karma and mocha boilerplate. Complete with super simple authentication flow, tests on reducers and components.

JavaScript 94.78% CSS 4.69% HTML 0.53%

react-redux-boilerplate's Introduction

React Redux Boilerplate

Build Status I Care Dependency Status

A react, redux, webpack, css modules, postcss, karma and mocha boilerplate. Complete with super simple authentication flow, tests on reducers and components. Related to blogpost. Complete with redux dev tools. ctrl-h and ctrl-q shortcuts :)

Installation

npm3 and node v4+ required

git clone [email protected]:export-mike/react-redux-boilerplate.git

npm i

npm start

new shell: npm run test:watch

other commands:

test mocha only: npm run mocha:watch

test karma only: npm run karma:watch

for CI use npm test

Build: npm run build

react-redux-boilerplate's People

Contributors

bryant1410 avatar export-mike avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

react-redux-boilerplate's Issues

Syntaxerror in TextInput tests

Thanks for providing this example boilerplate. Just did a fresh clone of the repository and I'm getting a SyntaxError on line 14 in src/components/TextInput/test/index-test.js and line 15 in src/components/PrimaryTextInput/test/index-test.js.

It looks like the JSX tag in the preceding line is not being closed correctly. Once I changed that the tests failed because change isn't called. I changed the simulate call to the following:

wrapper.find(TextInput).simulate('change', {target: {value: 'a'}});

I don't know if this is the correct fix, and why the change handler isn't called as a result of the keydown. Also see: enzymejs/enzyme#76

Use browserHistory and syncHistoryWithStore?

I am using this excellent boilerplate and have learnt a lot from it. Once feature I would like to see is to replace hashHistory with browserHistory and syncHistoryWithStore. Or would that mean evergreen browsers only?

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.