Use RAF for resize updating instead of debounce