Apply beautiful syntax highlight to your code using Prism in React.
useEffect() runs code once on initial rendering or specific rerenders.