Skip to content

Latest commit

 

History

History

overview

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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.