redux-react-router-async-example

A showcase of the Redux architecture with React Router

  • Owner: emmenko/redux-react-router-async-example
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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 react-intl@2.0.

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

Main metrics

Overview
Name With Owneremmenko/redux-react-router-async-example
Primary LanguageJavaScript
Program languageHTML (Language Count: 3)
Platform
License:MIT License
所有者活动
Created At2015-06-15 19:09:41
Pushed At2018-01-04 10:04:03
Last Commit At2018-01-04 11:04:02
Release Count0
用户参与
Stargazers Count0.9k
Watchers Count37
Fork Count121
Commits Count148
Has Issues Enabled
Issues Count41
Issue Open Count11
Pull Requests Count19
Pull Requests Open Count2
Pull Requests Close Count5
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private