culTest

    One of the 25 questions in this topic

    How much do you know about Comprehensive Certification: From Design to Deployment?

    What is the purpose of the 'useCallback' Hook in React?

    Answers

    To make calls to an API.
    To memorize a function and prevent it from being created again on each render if its dependencies do not change.Correct
    To change the background color.
    To validate forms.

    Optimizes performance by avoiding unnecessary re-rendering of child components.