The last task says:
Cancel reset form
Well, there’s a problem. Click New entry, type some stuff in, then click Cancel. Now click New entry again. The stuff is still there. Sarah doesn’t like this. She thinks Cancel should really cancel, meaning forget everything she was doing and start over.
This doesn’t actually happen for me. Tag 1.18 works just as Sarah wants.
Demonstration: If I put
(js/alert "init") in
init-state method, then everytime I hit the
New entry button after cancelling, I see the alert.