Redux State Shape - sonataFarm/lost_in_wiki GitHub Wiki

As of now the redux state is divided into three slices:

  • pages
  • game
  • errors

pages

pages is a hash of the form {...pageTitle: pageData} for all the pages currently loaded on the frontend

game

game holds all the game logic (see glossary for variable descriptions)

  • currentPage
  • focusPage
  • pageHistory
  • destination
  • difficulty
  • won

errors

errors holds all the errors generated by the actions of other slices.