TODO fix -[ ] issue todo -[ ] add unit tests with jest later migrate to hooks test -[ ] debounce refactor -[ ] debounce