1. we can write scripts for shortcuts in package.
json
Npm run start and npm start same thing
npm bulid will not work we have to use npm run build becuse npm has reserved the keyword start
2. React Element
[Link] create react object and when we render into the DOM then it will convert into
an html which we see on the browser
3. React Component
There are 2 ways of creating React component
Class Based component (Old way – uses Javascript classes)
Functional component (New way – use Javascript function)
4. ShortHand function const fun=()=> true
Normal function const fun=()=> { return true}
Both the above function are same
Both are same
5. Component composition
injecting component into other component
6. JSX is making our code more readable. JSX is not react
7. Component is noraml javascript function which is returing some JSX code