7th Sem Mini Internship
7th Sem Mini Internship
React JS
Submitted To : Submitted By:-
Name- Ms. Manisha Rai Name-Prakhyat Bhartia
Department:- Assistant Professor CSE Roll No-2000270120076
Student N0-2012135
Branch- CS - 2
CERTIFICATE
OVERVIEW - REACT JS
• REACT IS A JAVASCRIPT LIBRARY FOR BUILDING USER INTERFACES.
6. HERE WE’RE MAKING A TODO LIST, SO WE MAKE A TODO DIRECTORY AND RUN
THE DIRECTORY WITH THE CODE.
• TYPE create-react-app list IN THE TERMINAL PRESS ENTER.
7. NOW THE PROCESS WILL TAKE TIME, THEN YOU’LL GET YOUR APP, WITH ALL
NECESSARY FILES.
8. NOW, YPU CAN ADD YOUR REACT TO THE FILES FOR MAKING YOUR TODO LIST.
CREATING YOUR FIRST REACT APP
CREATING YOUR FIRST REACT APP
REACT in the Wild
Server-side rendering
• If your page uses a lot of fast updating data or real time data - React is the way to
go
• Once you and your team is over the React's learning curve, developing your app
will become a lot faster
Is switching to React easy?
Understanding how it works will take time and will slow you down at
first (but once you and your team get it, things will start happening much
faster).
Fundamental
Most important terms in React
Components In React
• Components are self-contained reusable
building blocks of web application.
const Democomponent=()=>
{
return <h1>Welcome Message!</h1>
;}
Class Components
The class components are a little more complex than the functional components.
The functional components are not aware of the other components in your
program whereas the class components can work with each other. We can pass
data from one class component to other class components. We can use JavaScript
ES6 classes to create class-based components in React. Below example shows a
valid class-based component in React:
class Democomponent extends React.Component
{
render(){ return <h1>Welcome Message!</h1>
; } }
Thankyou