Coder Social home page Coder Social logo

laggingreflex / 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.19 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

This repository is deprecated and not maintained anymore

Check out those resources:


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.

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

asaf avatar bfin avatar bvleur avatar calesce avatar emmenko avatar gaearon avatar jagare avatar jayphelps avatar johannes-photobox avatar pgilad avatar plougsgaard avatar shalomeir avatar timdoes 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.