Mobile: navigation history from note to note

I've tried to make some progress on this as well.

A demo of what I'm trying to achieve can be seen in this thread.

The implementation of the history feature is basically this:

  • Enable hot-reload for CodeMirror
  • When the Note component's props update to a different note id, reload the note
  • To track note navigation history, hand NOTE_SELECT and FOLDER_SELECT actions to the shared reducer when handling NAV_GO actions in the app reducer

So far, this doesn't change the behavior of the back button, because it manges its own history.