React.js
fundamentals

Nirmal Vyas

15+ years experience in IT field

Fulltime freelancer since last 2 + years
 

Website: http://codenirmal.com/

 

Organizer of Technical meetups in Kochi like Kerala JS, Active Member of other groups like Kochi Ruby, Kochi Python etc. 

Who am I?

What is React.js?

React is a JavaScript library for building user interfaces.

React is used to build single page applications.

React allows us to create reusable UI components.

Why was React developed?

Why was React developed?

Current version of React.JS is V18.2.0 (June 2022).

Initial Release to the Public (V0.3.0) was in July 2013.

React.JS was first used in 2011 for Facebook's Newsfeed feature.

Facebook Software Engineer, Jordan Walke, created it.

The create-react-app version 2.0 package was released in October 2018.

Create-react-app version 2.0 supports Babel 7, webpack 4, and Jest23.

History

Who uses React?

How to install and setup an app

npx

npm

npx create-react-app my-app
npm init react-app my-app

yarn

yarn create react-app my-app
cd my-app
npm start
yarn start

or

npm test
yarn test

or

npm build

or

yarn build

Fundamentals

Most important terms in React

Virtual DOM

JSX

Component

Props

State

Examples

Thank You

Made with Slides.com