mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
01874cb2db
Added a useCallback function, which helps keeping only one version of the debounce function, what happens is that when we type in the editor, the rerenders produces multiple debounce function, which all triggers together after the specifier amount of time, making many request to backend, consiquently failing the debounce. Now useCallback will give only one function even if the rerenders are happening which fixes the issue |
||
---|---|---|
.. | ||
archived-issues | ||
cycles | ||
draft-issues | ||
inbox | ||
issues | ||
modules | ||
pages | ||
settings | ||
views |