Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Now that you’ve declared MyButton, you can nest it into another component:

 export default function MyApp ( ) { 
return (
< div >
< h1 > Welcome to my app </ h1 >
< MyButton />
</ div >
) ;
}
If you want to change selection, open document below and click on "Move attachment"

Quick Start – React
as small as a button, or as large as an entire page. React components are JavaScript functions that return markup: function MyButton() { return ( <button>I'm a button</button> ); } <span>Now that you’ve declared MyButton, you can nest it into another component: export default function MyApp() { return ( <div> <h1>Welcome to my app</h1> <MyButton /> </div> ); } Notice that <MyButton /> starts with a capital letter. That’s how you know it’s a React component. React component names must always start with a capital letter, while HTML tags m


Summary

statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

Details



Discussion

Do you want to join discussion? Click here to log in or create user.