“Why can wrapping a JSX node itself in useMemo prevent unnecessary re-renders?”
Because React skips diffing all JSX returned from memoized Hooks
Because JSX nodes are immutable objects whose identity can be reused
Because memoized JSX automatically converts children into static HTML
Because useMemo memoizes component state along with the node