Re:Show HN: Simple tool to generate mock APIs for testing
by fadymak on Saturday February 17, 2024 @07:00AM
(#39408685)
Thanks for all the feedback! This community is incredible <3
Just pushed a fix that should resolve this while still maintaining state in the URL (using replaceState as suggested by OP).
For now it foregoes the undo/redo. I'll explore implementing it as a separate widget as you suggest in the future.
Another potential approach could be to offer a custom-built widget for the undo/redo stack in the UI – in the simplest case, for example, a dropdown. It could also be persisted somewhere, e.g. in local storage, so that it isn’t lost when you navigate away.