Merge pull request #7 from ragusa-it/perf/navbar-scroll-throttling-16938841465799544697

 Optimize Navbar scroll listener with requestAnimationFrame
This commit was merged in pull request #7.
This commit is contained in:
Melvin Ragusa
2026-01-23 10:06:57 +01:00
committed by GitHub
3 changed files with 100 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
// @vitest-environment jsdom
import { renderHook, act } from '@testing-library/react';
import { useTypingEffect } from './useTypingEffect';
import { describe, it, expect, vi, afterEach, beforeEach } from 'vitest';