React Js Quiz
Home
Blog
Privacy Policy
Contact Us
React Hooks - useContext Quiz
What is the purpose of the displayName property when defining a context with createContext?
Report this question
It sets the name of the context provider component
It provides a custom name for the context
It is used for debugging purposes
Show Explanation
The displayName property provides a custom name for the context, mainly used for debugging purposes.
It has no impact on the context
Next Question (12/20)