docs: add digrams #12
Annotations
3 warnings
build:
src/components/video/VideoPlayer.tsx#L126
The ref value 'videoRef.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'videoRef.current' to a variable inside the effect, and use that variable in the cleanup function
|
build:
src/hooks/game/useGameProvider.tsx#L163
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
build:
src/hooks/video/useVideoSync.ts#L28
The 'videos' logical expression could make the dependencies of useEffect Hook (at line 34) change on every render. To fix this, wrap the initialization of 'videos' in its own useMemo() Hook
|