News for hackers. Stuff that matters.
Re:Show HN: Cookie Recipe Generator by baddox on Sunday July 19, 2020 @01:59AM (#23887335)
Ha yeah, very good point. I thought it was neat to have the entire state of the app in the URL and use the back button to demonstrate that, but yes, I should probably be replacing history instead of pushing.
Re:Show HN: Cookie Recipe Generator by smichel17 on Sunday July 19, 2020 @02:23PM (#23891267)
Suggestion: Push once after every complete phone, but replace after an intermediate state. That way the back button goes through a list of complete combinations you tried, without forcing you to walk back individual steps.