Ep 1
Ep 1
Inception! ( Namaste-React
)
💡 I've got a quick tip for you. To get the most out of
these notes, it's a good idea to watch Episode-1 first.
Understanding what ”Akshay” shares in the video will make
these notes way easier to understand.
Inception! ( Namaste-React ) 1
So Let’s begin our Namaste React Journey
Introducing React.
Q ) What is Library?
Q ) What is Framework?
Framework provides a basic foundation or structure for a
website or an application.
Inception! ( Namaste-React ) 2
Examples: Angular
* Emmet:
Emmet is the essential toolkit for web-developers. It allows you
to type shortcuts that are then expanded into full-fledged
Inception! ( Namaste-React ) 3
boiler plate code for writing HTML and CSS.
Inception! ( Namaste-React ) 4
Q ) Create Hello World Program using only React?
* Cross Origin:
The crossorigin attribute in the script tag enables Cross-
Origin Resource Sharing (CORS) for loading external JavaScript
files from different origin than the hosting web page. This
allows the script to access resources from the server hosting
the script, such as making HTTP requests or accessing data.
Inception! ( Namaste-React ) 5
This (id='title'), classes, etc should come under {}. Whenever
I'm passing inside {}, will go as tag attributes of h1.
Inception! ( Namaste-React ) 6
To build the structure like this in React
Inception! ( Namaste-React ) 7