Archived
Which statement(s) is/ are true about the Portal
API
-1
Community Evaluations
Stéphane
02/09/2022
Dans la réponse ci-dessus on ne peut qu'écrire dans le DOM, il faut spécifier où.
Les portails fournissent une excellente solution pour afficher des composants enfants dans un nœud DOM qui existe en dehors de la hiérarchie DOM du composant parent.
25
Write the missing code to render the children of the UserProfile component.9
Use useCallback to optimize rendering in React28
Write the non-JSX equivalent of the following code:15
Write a React component as a function14
Call a function on the first render of a React component14
Save the state used to display the selected page in a React component.10
Write a React component that updates the document title with each click and resets to 'React App' when the component unmounts.