Coder Social home page Coder Social logo

gbaladi / redux-undo-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from omnidan/redux-undo-boilerplate

0.0 2.0 0.0 43 KB

:recycle: :wrench: a magical boilerplate with hot reloading and awesome error handling™

License: MIT License

HTML 1.19% JavaScript 98.81%

redux-undo-boilerplate's Introduction

redux-undo-boilerplate

Version 1.0.0-beta2 Build Status Dependency Status devDependency Status js-standard-style https://gratipay.com/omnidan/

a magical boilerplate with hot reloading and awesome error handling™ that uses webpack, redux, react and redux-undo

Installation

You need to have npm installed (it comes with node.js).

npm install

Running

During development, run:

npm run dev

Which enables some development tools.

In production, run:

npm start

These commands (unless configured otherwise) start a web server at: http://localhost:3000

Demo

https://i.imgur.com/M2KR4uo.gif

What happens if I change some code?

Save the file in your editor and immediately see the changes reflected in your browser - coding has never been more efficient. What a beautiful world we live in nowadays.

http://i.imgur.com/VCxUA2b.gif

What happens if I make a typo / syntax error?

Many of us know this: You accidentally type in the wrong window once, add a random character to your code and when you run it again you're like "WTF this just worked?!" - let webpack-hot-middleware help you out with this:

http://i.imgur.com/DTnGNFE.gif

What happens if I mutate the state directly?

Mutating the state directly causes lots of bugs with Redux. There are no immutables in JavaScript, so we can't make sure this doesn't happen unless we use something like Immutable.js.

If you run this boilerplate in dev mode (npm run dev), it will tell you when you mutate something directly:

https://i.imgur.com/y02EDxc.png

Testing

npm test

Thanks

Special thanks to these awesome projects/people making this possible ❤️

License

redux-boilerplate: MIT © C.T. Lin

redux-undo-boilerplate: MIT © Daniel Bugl

redux-undo-boilerplate's People

Contributors

omnidan avatar

Watchers

James Cloos avatar Georges Baladi 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.