GithubHelp home page GithubHelp logo

hasimo / redux-react-router-async-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from emmenko/redux-react-router-async-example

0.0 2.0 0.0 3.26 MB

A showcase of the Redux architecture with React Router

Home Page: http://emmenko.github.io/redux-react-router-async-example

License: MIT License

CSS 9.39% HTML 1.93% JavaScript 88.69%

redux-react-router-async-example's Introduction

http://emmenko.github.io/redux-react-router-async-example

This is a boilerplate example showcasing mostly Redux and React Router and it aims to provide different examples or use cases with the two libraries.

The project will be constantly updated and improved with the latest dependencies, features, best practices and so on.

Check out the migration to babel 6.

Features

  • latest react, redux, react-router
  • devtools + HMR for development
  • react
    • higher-order components
    • higher-order functions
  • redux
    • bootstrap initial state
    • store enhancers (e.g.: localStorage persistence)
    • middleware composition
    • easy-to-configure reducers
    • async actions
  • react-router
    • nested routes
    • secured area by login
    • keep routes into state for easy time travel
  • i18n support by react-intl
    • scripts to extract messages and generate XLIFF files for translators
  • GitHub API with pagination
  • CSSnext bundles
    • injected into HTML by webpack for development (allows HMR)
    • bundled as a separate file for production
  • development tools such as webpack, babel, eslint

Development

$ npm install
$ npm start

I18n support

All messages in this website are localized and rendered using [email protected].

There is also a babel plugin to extract all the default messages into ./_translations/lib to be provided to translators.

$ npm run build:i18n

You can also run a script to extract all those translations as key-value.

$ npm run build:i18n:langs

Thanks

redux-react-router-async-example's People

Contributors

emmenko avatar gaearon avatar bfin avatar asaf avatar bvleur avatar calesce avatar pgilad avatar jayphelps avatar johannes-photobox avatar jagare avatar timdoes avatar plougsgaard avatar shalomeir avatar

Watchers

Tohru Hashimoto  avatar James Cloos 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.