You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
Daslaw
added
the
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
label
Jan 11, 2023
sideshowbarker
changed the title
Error in Passing DATA as a prop,
“Componentizing our React app”: Error in Passing DATA as a prop,
Jan 12, 2023
sideshowbarker
added
help wanted
If you know something about this topic, we would love your help!
and removed
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
labels
Jan 12, 2023
It looks like this is your first issue. Welcome! 👋
One of the project maintainers will be with you as soon as possible. We
appreciate your patience. To safeguard the health of the project, please
take a moment to read our code of conduct.
MDN URL
https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_components
What specific section or headline is this issue about?
Componentizing our React app in the MDN documentation
What information was incorrect, unhelpful, or incomplete?
Where will pass DATA as a prop, we pass DATA as a prop, called tasks. The final line of src/index.js read like this:
ReactDOM.render(\<App tasks={DATA} />, document.getElementById("root"));
What did you expect to see?
Instead of this
In the React v18.2.0.
Do you have any supporting links, references, or citations?
https://reactjs.org/docs/conditional-rendering.html
Do you have anything more you want to share?
No response
The text was updated successfully, but these errors were encountered: