Note:
- Components in React is really just a function
- Functions in React, can return somthing called JSX (jsxml)
W we can create functions before "return" in component function, to use it with JSX => like function to fetch api
- Components in React is really just a function
- Functions in React, can return somthing called JSX (jsxml)
W we can create functions before "return" in component function, to use it with JSX => like function to fetch api
Note:
we can create other component function
and use it in other component
we can create other component function
and use it in other component
Useful Resources for Part 1
Here are some resources that you might find helpful while studying this Part 1.
👉 https://react.dev/?ref=jonas.io (Documentation that you should keep open at all times)
👉 https://create-react-app.dev/?ref=jonas.io (This is how we'll setup our first app)
👉 https://vitejs.dev/guide/?ref=jonas.io (For real-world React apps)
👉https://gist.githubusercontent.com/gaearon/0275b1e1518599bbeafcde4722e79ed1/raw/db72dcbf3384ee1708c4a07d3be79860db04bff0/example.html (For the "Pure React" lecture)
Here are some resources that you might find helpful while studying this Part 1.
👉 https://react.dev/?ref=jonas.io (Documentation that you should keep open at all times)
👉 https://create-react-app.dev/?ref=jonas.io (This is how we'll setup our first app)
👉 https://vitejs.dev/guide/?ref=jonas.io (For real-world React apps)
👉https://gist.githubusercontent.com/gaearon/0275b1e1518599bbeafcde4722e79ed1/raw/db72dcbf3384ee1708c4a07d3be79860db04bff0/example.html (For the "Pure React" lecture)