Initial path used for the first entry.
History controller backed by an in-memory stack.
Behavior notes:
go(delta) clamps to valid bounds [0, length - 1].push after back drops forward entries.Example:
const history = createMemoryHistory("/home?tab=all");
history.push("/details/42");
history.back();
Create an in-memory history implementation.