React Js
React Js
=> ReactJS Router is mainly used for developing Single Page Web Applications.
React Router is used to define multiple routes in the application.
It enables the creation of single-page web or mobile apps that allow navigating
without refreshing the page.
what is props ?
*props use hota hai jab do ya do se adhik component me data shair karna hota hai
tab
ek component ke under hi data rakhna hai tab hum state use karte hai jab ek
component
se bahar data lekar jana hota hai to hum props use karte hai
* we can send data parent to child, child to parent and in sibling component
what is hooks ?
*function componenet ke under hum state aur life cylce method use nhi kar sakte
unko use karne
ke liye hume hooks use karne padte hai
*we can use hooks in function component not in class component
* where you find any key which start with use like useEffect then that will be
hook
what is NPM?
* this is Node Package manager which which help to install library in ReactJs
ex like = map etc;
what is package.json ?
ye application ki details carry karti hia jaise ki version
what is SPA ?
*it stands for single page Application
*which means application look like single page and no reoload or refresh on jumping
on other page
and link
* we can make single page application react,angular and vue
#we use state and props instead of let ,var and const in component because
jb hum state ya props ki vlaue change karte hai to pura component re-rendor hoga
but agr hum
let,var ya const use karenge to re-rendor nhi hoga component
*NOde js*
*node js ek run time environment hai java script ka ye java script ko allow karta
hai
server side exuction ke liye `````
*node js me jave script ko run karne ke liye v8 engine use karte hai ye vhi browser
hai jo
browser me use hota hai
what is library ?
*Libraries in programming languages are collections of prewritten code that users
can use to optimize a task.
*webrtc and socket io is combination of powerfull technology where you will able to
transfer data in real time with low latency.
And thats why its been considering the best technology to build video conferencing
app.
what is peer js ?
*PeerJS simplifies WebRTC peer-to-peer data, video, and audio calls.PeerJS is a
WebRTC framework
*PeerJS simplifies WebRTC peer-to-peer data, video, and audio calls.
what is framework ?
A framework in programming is a tool that provides ready-made components or
solutions
that are customized in order to speed up development. A ..
what is babel ?
*Babel is a very famous transpiler that basically allows us to use future
JavaScript in today's browsers.
In simple words, it can convert the latest version of JavaScript code into the one
that the browser understands
*react component is custom html element also we can define attribute in react;
in react cutom element is called component and cutom attribute called property or
props;
*state= user interface depend upon state it will change if state are change it like
ica and water these are same thing but it depend
upon change of state(temperature) if temperture increase ice convert in water and
if temperature decrease then water convert in
ice in react state are same like temperature UserInterface= function( state) ;
*WebRTC connects users by transferring real-time audio, video and data from device
to device using P2P communications.
*The goal of WebRTC is to facilitate real-time P2P communications over the internet