ReSwift / ReSwift-Recorder

Deprecated ⚠️ Proof-of-concept Time Travel and Hot Reloading for ReSwift 3.0

Home Page:https://github.com/ReSwift/ReSwift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

One Action does not dispatchRecorded at next start

FaShapouri opened this issue · comments

When I do only one action, and then close app and reopen it; the reducer does not call to apply my only action.

I have debugged app and found in RecordingStore.swift class at replyToState:
My Scenario:

  1. Run app for first time:
    • state is equal 0
    • state > computedStates.count - 1 is false
  2. I touch Up button and the label value changed to 1
  3. Then stop app
  4. Rebuild application
    • state is equal 1
    • state > computedStates.count - 1 is false too