Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.1 KB

Readme.md

File metadata and controls

25 lines (16 loc) · 1.1 KB

Overview

Lists and searches through the pages the user has stored. A basic React+Redux application. Inspiration was drawn from Jack Hsu's nice essays about structuring Redux applications. Some Redux middleware is used to deal with complexity and asynchronicity. In particular:

  • redux-act to lessen boilerplate code and simplify actions and reducers.
  • redux-thunk enables actions to execute a function that can dispatch other actions, possibly asynchronously.
  • redux-observable is used to trigger actions in response to other actions, e.g. running the search again when the query changed. (see epics.js)

Debugging

To ease debugging, the app includes redux-devtools (unless it is built in production mode). Press Ctrl+Shift+L in the overview to open the devtools sidebar, to see the actions and state transitions as they happen.