Skip to content

mcordova47/purescript-elmish-time-machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purescript-elmish-time-machine

Time travel debug tool for purescript-elmish

Usage

Just wrap the main ComponentDef with withTimeMachine:

main :: Effect Unit
main = defaultMain
  { def: withTimeMachine { init, update, view }
  , elementId: "app"
  }

Fast forward, rewind, pause, undo, and redo Elmish state transitions

tardis1

Jump around to various states

tardis3

Inspect states and messages

tardis2

About

Time travel debug tools for purescript-elmish

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors