- 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
11 lines
264 B
JavaScript
11 lines
264 B
JavaScript
'use strict';
|
|
|
|
var bind = require('function-bind');
|
|
var $apply = require('./functionApply');
|
|
var actualApply = require('./actualApply');
|
|
|
|
/** @type {import('./applyBind')} */
|
|
module.exports = function applyBind() {
|
|
return actualApply(bind, $apply, arguments);
|
|
};
|