sepehr 8d95f34fcc fix: Add debounced Undo/Redo system to avoid character-by-character history
- Add debounced state updates for title and content (500ms delay)
- Immediate UI updates with delayed history saving
- Prevent one-letter-per-undo issue
- Add cleanup for debounce timers on unmount
2026-01-04 14:28:11 +01:00

17 lines
466 B
JavaScript

// src/preset/quick.ts
import { HonoBase } from "../hono-base.js";
import { LinearRouter } from "../router/linear-router/index.js";
import { SmartRouter } from "../router/smart-router/index.js";
import { TrieRouter } from "../router/trie-router/index.js";
var Hono = class extends HonoBase {
constructor(options = {}) {
super(options);
this.router = new SmartRouter({
routers: [new LinearRouter(), new TrieRouter()]
});
}
};
export {
Hono
};