React lets you build user interfaces out of individual pieces called components. Create your own React components like Thumbnail, LikeButton, and Video. Then combine them into entire screens, pages, and apps.
useMemo is a React hook that lets you cache the result of a calculation between re-renders. Call useMemo at the top level of your component to cache a calculation between re-renders.
V minulosti som sa podobnej problematike už venoval, no opätovne sa k nej vraciam. Tentokrát budem demonštrovať použitie isNaN() a NaN v praxi.