Open
Description
Everytime that we need to make a debounce or a throttle on some method the process is very annoying. I think that maybe this two components can be useful:
Debounce
<Debounce method={() => console.log('helo')} timer={200}>
{({ fn }) => /* ... */}
</Debounce>
Throttle
<Throttle method={() => console.log('helo')} timer={200}>
{({ fn }) => /* ... */}
</Throttle>