ali-nasir-ali / Coursework-Planner

Your coursework planner
0 stars 0 forks source link

[TECH ED] What is React #53

Open ali-nasir-ali opened 1 year ago

ali-nasir-ali commented 1 year ago

From Module-JS3 created by SallyMcGrath: CodeYourFuture/Module-JS3#14

Link to the coursework

https://www.youtube.com/watch?v=0KlRgFEEz0g

Why are we doing this?

  1. Watch the attached video. You can stop watching at 11:06 (the rest is unnecessary)

  2. Write your answers as a comment on your ticket on your board.

  3. In the comment, answer these questions in ONE sentence:

A. What does he say the "best description of React is"? B. What does he say "could be a component"? C. What does he say is the benefit of using JSX? D. What makes React fast?

Maximum time in hours (Tech has max 16 per week total)

1

How to get help

Share your blockers in your class channel. https://syllabus.codeyourfuture.io/guides/asking-questions

How to submit

Write your answers as a comment on your ticket on your board.

How to review

No response

Anything else?

No response

ali-nasir-ali commented 1 year ago

A. React is a library for building user interfaces as a tree of small pieces called components B. A component can be anything in your web application like a Button, Text, Label, or Grid C. The benefit of using JSX is that it provides a more intuitive way to write JavaScript code that manipulates HTML elements and makes it easier to read and maintain your code by allowing you to mix JavaScript and HTML together in a natural way D. React is fast because it uses a virtual DOM, which reduces the number of direct manipulations to the actual DOM