SlideShare una empresa de Scribd logo
1 de 21
React JS
The following topics will be covered in our
React JS
Online Training:
Copyright @ 2015 Learntek. All Rights Reserved. 2
What is React JS?
• React JS Training- React JS basically is an open-source JavaScript library
which is used for building user interfaces specifically for single page
applications. It’s used for handling view layer for web and mobile apps.
React also allows us to create reusable UI components.
• It can be used with a combination of other JavaScript libraries or
frameworks, such as Angular JS in MVC.
Copyright @ 2015 Learntek. All Rights Reserved. 3
Why React?
▪ Easy to learn
Anyone with a basic previous knowledge in programming can easily
understand React. For react you just need basic knowledge of CSS and
HTML.
▪ Native Approach
React can be used to create mobile applications (React Native). And React
is a follows reusability, meaning extensive code reusability is supported.
Copyright @ 2015 Learntek. All Rights Reserved. 4
…Continues…
▪ Data Binding
React uses one-way data binding and an application architecture called
Flux controls the flow of data to components through one control point –
the dispatcher. It’s easier to debug self-contained components of large
ReactJS apps.
▪ Performance
React does not offer any concept of a built-in container for dependency.
Copyright @ 2015 Learntek. All Rights Reserved. 5
Training Topics
• React Js Training -Who Is This Course For?
• How Is This Course Different from the React and Flux course?
• Why Redux?
Copyright @ 2015 Learntek. All Rights Reserved. 6
Environment Setup
• Environment Overview
• Versions Used in This Course
• Hot Reloading
• Install Node
• Create package.json
• Editors
• Install npm Packages
• Introduce npm Scripts
• Create src Directory
• Set up Webpack
• Set up editorconfig
• Set up Babel
• Set up Express
• Create Start Script
• Create Start Message
• Set up ESLin
• Create Parallel Scripts
• Set up Testing
• Add Test Scripts
Copyright @ 2015 Learntek. All Rights Reserved. 7
React Component Approaches
• Four Ways to Create React Components
• ES5 Create Class Component
• ES6 Class Component
• ES5 Stateless Component
• ES6 Stateless Component
• When Should I Use Each Style?
• Other Ways to Create Components
• Container vs. Presentation Components
Copyright @ 2015 Learntek. All Rights Reserved. 8
Initial App Structure
• Create Initial Components
• Create App Layout
• Configure Routing
• Update Entry Point
• Create Styles
• Create Header
• Create Course Page
Copyright @ 2015 Learntek. All Rights Reserved. 9
Intro to Redux
• Do I Need Redux?
• Three Core Redux Principles
• Flux Similarities
• Flux Differences
• Redux Flow Overview
Copyright @ 2015 Learntek. All Rights Reserved. 10
Actions, Stores, and Reducers
• Actions
• Store
• What Is Immutability?
• Why Immutability?
• Handling Immutability
• Reducers
Copyright @ 2015 Learntek. All Rights Reserved. 11
Connecting React to Redux
• Container vs. Presentational Components
• React-redux Introduction
• mapStateToProps
• mapDispatchToProps
• A Chat with Redux
Copyright @ 2015 Learntek. All Rights Reserved. 12
Redux Flow
• Create Simple Add Course Form
• Binding in ES6
• Actions
• Reducers
• Root Reducer
• Store
• Instantiate Store and Provider
• Connect Container
Copyright @ 2015 Learntek. All Rights Reserved. 13
Step Through Redux Flow
• MapDispatchToProps Manual Mapping
• bindActionCreators
• Container Structure Review
• Action Type Constants
Copyright @ 2015 Learntek. All Rights Reserved. 14
Async in Redux
Copyright @ 2015 Learntek. All Rights Reserved. 15
• Why a Mock API?
• Async Library Options
• Thunk Overview
• Mock API Setup
• Remove Inline Form
• Add Thunk to Store
• Create Load CoursesThunk
• Action Naming Conventions
• Load Courses in Reducer
• Dispatch Action on Page Load
• Create Course List Component
Async Writes in Redux
• Create Manage Course Page
• Create Manage Course Form
• Create Form Input Components
• Use Manage Course Form
• Create Author Actions
• Create Author Reducer
• Map Author Data for Dropdown
• Create Form Change Handler
• Create Save Course Thunk
• Handle Creates and Updates in
Reducer
• Dispatch Create and Update
• Redirect via React Router Context
• Populate Form via
mapStateToProps
• Update State via component
WillReceiveProps
Copyright @ 2015 Learntek. All Rights Reserved. 16
Async Status and Error Handling
• Create Preloader Component
• Create AJAX Status Actions
• Create AJAX Status Reducer
• Call Begin AJAX in Thunks
• Hide Preloader Based on Status
• Use Promises to Wait for Thunks
• Create Form Submission Loading
Indicator
• Display Save Notification
• Error Handling
Copyright @ 2015 Learntek. All Rights Reserved. 17
Testing React
• Testing Frameworks
• Helper Libraries
• Testing React with React Test Utils
• Testing React with Enzyme
Copyright @ 2015 Learntek. All Rights Reserved. 18
Testing Redux
• Testing Connected React Components
• Testing mapStateToProps
• Testing Action Creators
• Testing Reducers
• Testing Thunks
• Testing the Store
Copyright @ 2015 Learntek. All Rights Reserved. 19
Prerequisite:
▪ Basic working knowledge of HTML,CSS,JavaScript, Text editor-Visual
Studio code/We storm/Atom and preffered one is Visual Studio .
Copyright @ 2015 Learntek. All Rights Reserved. 20
Copyright @ 2015 Learntek. All Rights Reserved. 21

Más contenido relacionado

La actualidad más candente

Reactjs workshop
Reactjs workshop Reactjs workshop
Reactjs workshop Ahmed rebai
 
001. Introduction about React
001. Introduction about React001. Introduction about React
001. Introduction about ReactBinh Quan Duc
 
Introduction to react
Introduction to reactIntroduction to react
Introduction to reactkiranabburi
 
Introduction to ReactJS
Introduction to ReactJSIntroduction to ReactJS
Introduction to ReactJSHoang Long
 
learn what React JS is & why we should use React JS .
learn what React JS is & why we should use React JS .learn what React JS is & why we should use React JS .
learn what React JS is & why we should use React JS .paradisetechsoftsolutions
 
Learning React - I
Learning React - ILearning React - I
Learning React - IMitch Chen
 
Understanding Facebook's React.js
Understanding Facebook's React.jsUnderstanding Facebook's React.js
Understanding Facebook's React.jsFederico Torre
 
learn what React JS is & why we should use React JS .
learn what React JS is & why we should use React JS .learn what React JS is & why we should use React JS .
learn what React JS is & why we should use React JS .paradisetechsoftsolutions
 
React js programming concept
React js programming conceptReact js programming concept
React js programming conceptTariqul islam
 
Introduction to React JS for beginners | Namespace IT
Introduction to React JS for beginners | Namespace ITIntroduction to React JS for beginners | Namespace IT
Introduction to React JS for beginners | Namespace ITnamespaceit
 
React js - The Core Concepts
React js - The Core ConceptsReact js - The Core Concepts
React js - The Core ConceptsDivyang Bhambhani
 
React workshop presentation
React workshop presentationReact workshop presentation
React workshop presentationBojan Golubović
 
Introduction to ReactJs & fundamentals
Introduction to ReactJs & fundamentalsIntroduction to ReactJs & fundamentals
Introduction to ReactJs & fundamentalswebsyndicate
 
Breaking the Server-Client Divide with Node.js and React
Breaking the Server-Client Divide with Node.js and ReactBreaking the Server-Client Divide with Node.js and React
Breaking the Server-Client Divide with Node.js and ReactDejan Glozic
 

La actualidad más candente (20)

Tech Talk on ReactJS
Tech Talk on ReactJSTech Talk on ReactJS
Tech Talk on ReactJS
 
Reactjs workshop
Reactjs workshop Reactjs workshop
Reactjs workshop
 
001. Introduction about React
001. Introduction about React001. Introduction about React
001. Introduction about React
 
Introduction to react
Introduction to reactIntroduction to react
Introduction to react
 
Introduction to ReactJS
Introduction to ReactJSIntroduction to ReactJS
Introduction to ReactJS
 
learn what React JS is & why we should use React JS .
learn what React JS is & why we should use React JS .learn what React JS is & why we should use React JS .
learn what React JS is & why we should use React JS .
 
Learning React - I
Learning React - ILearning React - I
Learning React - I
 
React js
React jsReact js
React js
 
ReactJs
ReactJsReactJs
ReactJs
 
React-js
React-jsReact-js
React-js
 
Understanding Facebook's React.js
Understanding Facebook's React.jsUnderstanding Facebook's React.js
Understanding Facebook's React.js
 
learn what React JS is & why we should use React JS .
learn what React JS is & why we should use React JS .learn what React JS is & why we should use React JS .
learn what React JS is & why we should use React JS .
 
React js programming concept
React js programming conceptReact js programming concept
React js programming concept
 
React introduction
React introductionReact introduction
React introduction
 
ReactJS
ReactJSReactJS
ReactJS
 
Introduction to React JS for beginners | Namespace IT
Introduction to React JS for beginners | Namespace ITIntroduction to React JS for beginners | Namespace IT
Introduction to React JS for beginners | Namespace IT
 
React js - The Core Concepts
React js - The Core ConceptsReact js - The Core Concepts
React js - The Core Concepts
 
React workshop presentation
React workshop presentationReact workshop presentation
React workshop presentation
 
Introduction to ReactJs & fundamentals
Introduction to ReactJs & fundamentalsIntroduction to ReactJs & fundamentals
Introduction to ReactJs & fundamentals
 
Breaking the Server-Client Divide with Node.js and React
Breaking the Server-Client Divide with Node.js and ReactBreaking the Server-Client Divide with Node.js and React
Breaking the Server-Client Divide with Node.js and React
 

Similar a React js Online Training

Mastering react with redux
Mastering react with reduxMastering react with redux
Mastering react with reduxGaurav Singh
 
Дмитрий Тежельников «Разработка вэб-решений с использованием Asp.NET.Core и ...
Дмитрий Тежельников  «Разработка вэб-решений с использованием Asp.NET.Core и ...Дмитрий Тежельников  «Разработка вэб-решений с использованием Asp.NET.Core и ...
Дмитрий Тежельников «Разработка вэб-решений с использованием Asp.NET.Core и ...MskDotNet Community
 
Progressive Web Apps and React
Progressive Web Apps and ReactProgressive Web Apps and React
Progressive Web Apps and ReactMike Melusky
 
Introduction to react native with redux
Introduction to react native with reduxIntroduction to react native with redux
Introduction to react native with reduxMike Melusky
 
Reactjs notes.pptx for web development- tutorial and theory
Reactjs  notes.pptx for web development- tutorial and theoryReactjs  notes.pptx for web development- tutorial and theory
Reactjs notes.pptx for web development- tutorial and theoryjobinThomas54
 
An evening with React Native
An evening with React NativeAn evening with React Native
An evening with React NativeMike Melusky
 
Targeting Mobile Platform with MVC 4.0
Targeting Mobile Platform with MVC 4.0Targeting Mobile Platform with MVC 4.0
Targeting Mobile Platform with MVC 4.0Mayank Srivastava
 
Introduction to React native
Introduction to React nativeIntroduction to React native
Introduction to React nativeDhaval Barot
 
Using MVC with Kentico 8
Using MVC with Kentico 8Using MVC with Kentico 8
Using MVC with Kentico 8Thomas Robbins
 
The happy developer - SharePoint Framework React and Mindfulness
The happy developer - SharePoint Framework React and MindfulnessThe happy developer - SharePoint Framework React and Mindfulness
The happy developer - SharePoint Framework React and MindfulnessOlli Jääskeläinen
 
React.js for Rails Developers
React.js for Rails DevelopersReact.js for Rails Developers
React.js for Rails DevelopersArkency
 
Asp.Net 3 5 Part 1
Asp.Net 3 5 Part 1Asp.Net 3 5 Part 1
Asp.Net 3 5 Part 1asim78
 
MVC 6 - the new unified Web programming model
MVC 6 - the new unified Web programming modelMVC 6 - the new unified Web programming model
MVC 6 - the new unified Web programming modelAlex Thissen
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music storeADEEBANADEEM
 
Azure Functions Real World Examples
Azure Functions Real World Examples Azure Functions Real World Examples
Azure Functions Real World Examples Yochay Kiriaty
 
React Native Introduction: Making Real iOS and Android Mobile App By JavaScript
React Native Introduction: Making Real iOS and Android Mobile App By JavaScriptReact Native Introduction: Making Real iOS and Android Mobile App By JavaScript
React Native Introduction: Making Real iOS and Android Mobile App By JavaScriptKobkrit Viriyayudhakorn
 
AngularJS 1.x - your first application (problems and solutions)
AngularJS 1.x - your first application (problems and solutions)AngularJS 1.x - your first application (problems and solutions)
AngularJS 1.x - your first application (problems and solutions)Igor Talevski
 
Isomorphic React Applications: Performance And Scalability
Isomorphic React Applications: Performance And ScalabilityIsomorphic React Applications: Performance And Scalability
Isomorphic React Applications: Performance And ScalabilityDenis Izmaylov
 
Oracle JavaScript Extension Toolkit Web Components Bring Agility to App Devel...
Oracle JavaScript Extension Toolkit Web Components Bring Agility to App Devel...Oracle JavaScript Extension Toolkit Web Components Bring Agility to App Devel...
Oracle JavaScript Extension Toolkit Web Components Bring Agility to App Devel...Lucas Jellema
 

Similar a React js Online Training (20)

Mastering react with redux
Mastering react with reduxMastering react with redux
Mastering react with redux
 
Дмитрий Тежельников «Разработка вэб-решений с использованием Asp.NET.Core и ...
Дмитрий Тежельников  «Разработка вэб-решений с использованием Asp.NET.Core и ...Дмитрий Тежельников  «Разработка вэб-решений с использованием Asp.NET.Core и ...
Дмитрий Тежельников «Разработка вэб-решений с использованием Asp.NET.Core и ...
 
Progressive Web Apps and React
Progressive Web Apps and ReactProgressive Web Apps and React
Progressive Web Apps and React
 
Introduction to react native with redux
Introduction to react native with reduxIntroduction to react native with redux
Introduction to react native with redux
 
Reactjs notes.pptx for web development- tutorial and theory
Reactjs  notes.pptx for web development- tutorial and theoryReactjs  notes.pptx for web development- tutorial and theory
Reactjs notes.pptx for web development- tutorial and theory
 
An evening with React Native
An evening with React NativeAn evening with React Native
An evening with React Native
 
Targeting Mobile Platform with MVC 4.0
Targeting Mobile Platform with MVC 4.0Targeting Mobile Platform with MVC 4.0
Targeting Mobile Platform with MVC 4.0
 
Introduction to React native
Introduction to React nativeIntroduction to React native
Introduction to React native
 
Using MVC with Kentico 8
Using MVC with Kentico 8Using MVC with Kentico 8
Using MVC with Kentico 8
 
The happy developer - SharePoint Framework React and Mindfulness
The happy developer - SharePoint Framework React and MindfulnessThe happy developer - SharePoint Framework React and Mindfulness
The happy developer - SharePoint Framework React and Mindfulness
 
React.js for Rails Developers
React.js for Rails DevelopersReact.js for Rails Developers
React.js for Rails Developers
 
Asp.Net 3 5 Part 1
Asp.Net 3 5 Part 1Asp.Net 3 5 Part 1
Asp.Net 3 5 Part 1
 
MVC 6 - the new unified Web programming model
MVC 6 - the new unified Web programming modelMVC 6 - the new unified Web programming model
MVC 6 - the new unified Web programming model
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music store
 
Azure Functions Real World Examples
Azure Functions Real World Examples Azure Functions Real World Examples
Azure Functions Real World Examples
 
React Native Introduction: Making Real iOS and Android Mobile App By JavaScript
React Native Introduction: Making Real iOS and Android Mobile App By JavaScriptReact Native Introduction: Making Real iOS and Android Mobile App By JavaScript
React Native Introduction: Making Real iOS and Android Mobile App By JavaScript
 
Fluxible
FluxibleFluxible
Fluxible
 
AngularJS 1.x - your first application (problems and solutions)
AngularJS 1.x - your first application (problems and solutions)AngularJS 1.x - your first application (problems and solutions)
AngularJS 1.x - your first application (problems and solutions)
 
Isomorphic React Applications: Performance And Scalability
Isomorphic React Applications: Performance And ScalabilityIsomorphic React Applications: Performance And Scalability
Isomorphic React Applications: Performance And Scalability
 
Oracle JavaScript Extension Toolkit Web Components Bring Agility to App Devel...
Oracle JavaScript Extension Toolkit Web Components Bring Agility to App Devel...Oracle JavaScript Extension Toolkit Web Components Bring Agility to App Devel...
Oracle JavaScript Extension Toolkit Web Components Bring Agility to App Devel...
 

Más de Learntek1

Aws sys ops administrator
Aws sys ops administratorAws sys ops administrator
Aws sys ops administratorLearntek1
 
Big data - Online Training
Big data - Online TrainingBig data - Online Training
Big data - Online TrainingLearntek1
 
Angular js Online Training
Angular js Online TrainingAngular js Online Training
Angular js Online TrainingLearntek1
 
Selenium Online Training
Selenium  Online TrainingSelenium  Online Training
Selenium Online TrainingLearntek1
 
Machine learning using spark Online Training
Machine learning using spark Online TrainingMachine learning using spark Online Training
Machine learning using spark Online TrainingLearntek1
 
Apache Flink Online Training
Apache Flink Online TrainingApache Flink Online Training
Apache Flink Online TrainingLearntek1
 
Scala & Spark Online Training
Scala & Spark Online TrainingScala & Spark Online Training
Scala & Spark Online TrainingLearntek1
 

Más de Learntek1 (7)

Aws sys ops administrator
Aws sys ops administratorAws sys ops administrator
Aws sys ops administrator
 
Big data - Online Training
Big data - Online TrainingBig data - Online Training
Big data - Online Training
 
Angular js Online Training
Angular js Online TrainingAngular js Online Training
Angular js Online Training
 
Selenium Online Training
Selenium  Online TrainingSelenium  Online Training
Selenium Online Training
 
Machine learning using spark Online Training
Machine learning using spark Online TrainingMachine learning using spark Online Training
Machine learning using spark Online Training
 
Apache Flink Online Training
Apache Flink Online TrainingApache Flink Online Training
Apache Flink Online Training
 
Scala & Spark Online Training
Scala & Spark Online TrainingScala & Spark Online Training
Scala & Spark Online Training
 

Último

Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 

Último (20)

Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 

React js Online Training

  • 2. The following topics will be covered in our React JS Online Training: Copyright @ 2015 Learntek. All Rights Reserved. 2
  • 3. What is React JS? • React JS Training- React JS basically is an open-source JavaScript library which is used for building user interfaces specifically for single page applications. It’s used for handling view layer for web and mobile apps. React also allows us to create reusable UI components. • It can be used with a combination of other JavaScript libraries or frameworks, such as Angular JS in MVC. Copyright @ 2015 Learntek. All Rights Reserved. 3
  • 4. Why React? ▪ Easy to learn Anyone with a basic previous knowledge in programming can easily understand React. For react you just need basic knowledge of CSS and HTML. ▪ Native Approach React can be used to create mobile applications (React Native). And React is a follows reusability, meaning extensive code reusability is supported. Copyright @ 2015 Learntek. All Rights Reserved. 4
  • 5. …Continues… ▪ Data Binding React uses one-way data binding and an application architecture called Flux controls the flow of data to components through one control point – the dispatcher. It’s easier to debug self-contained components of large ReactJS apps. ▪ Performance React does not offer any concept of a built-in container for dependency. Copyright @ 2015 Learntek. All Rights Reserved. 5
  • 6. Training Topics • React Js Training -Who Is This Course For? • How Is This Course Different from the React and Flux course? • Why Redux? Copyright @ 2015 Learntek. All Rights Reserved. 6
  • 7. Environment Setup • Environment Overview • Versions Used in This Course • Hot Reloading • Install Node • Create package.json • Editors • Install npm Packages • Introduce npm Scripts • Create src Directory • Set up Webpack • Set up editorconfig • Set up Babel • Set up Express • Create Start Script • Create Start Message • Set up ESLin • Create Parallel Scripts • Set up Testing • Add Test Scripts Copyright @ 2015 Learntek. All Rights Reserved. 7
  • 8. React Component Approaches • Four Ways to Create React Components • ES5 Create Class Component • ES6 Class Component • ES5 Stateless Component • ES6 Stateless Component • When Should I Use Each Style? • Other Ways to Create Components • Container vs. Presentation Components Copyright @ 2015 Learntek. All Rights Reserved. 8
  • 9. Initial App Structure • Create Initial Components • Create App Layout • Configure Routing • Update Entry Point • Create Styles • Create Header • Create Course Page Copyright @ 2015 Learntek. All Rights Reserved. 9
  • 10. Intro to Redux • Do I Need Redux? • Three Core Redux Principles • Flux Similarities • Flux Differences • Redux Flow Overview Copyright @ 2015 Learntek. All Rights Reserved. 10
  • 11. Actions, Stores, and Reducers • Actions • Store • What Is Immutability? • Why Immutability? • Handling Immutability • Reducers Copyright @ 2015 Learntek. All Rights Reserved. 11
  • 12. Connecting React to Redux • Container vs. Presentational Components • React-redux Introduction • mapStateToProps • mapDispatchToProps • A Chat with Redux Copyright @ 2015 Learntek. All Rights Reserved. 12
  • 13. Redux Flow • Create Simple Add Course Form • Binding in ES6 • Actions • Reducers • Root Reducer • Store • Instantiate Store and Provider • Connect Container Copyright @ 2015 Learntek. All Rights Reserved. 13
  • 14. Step Through Redux Flow • MapDispatchToProps Manual Mapping • bindActionCreators • Container Structure Review • Action Type Constants Copyright @ 2015 Learntek. All Rights Reserved. 14
  • 15. Async in Redux Copyright @ 2015 Learntek. All Rights Reserved. 15 • Why a Mock API? • Async Library Options • Thunk Overview • Mock API Setup • Remove Inline Form • Add Thunk to Store • Create Load CoursesThunk • Action Naming Conventions • Load Courses in Reducer • Dispatch Action on Page Load • Create Course List Component
  • 16. Async Writes in Redux • Create Manage Course Page • Create Manage Course Form • Create Form Input Components • Use Manage Course Form • Create Author Actions • Create Author Reducer • Map Author Data for Dropdown • Create Form Change Handler • Create Save Course Thunk • Handle Creates and Updates in Reducer • Dispatch Create and Update • Redirect via React Router Context • Populate Form via mapStateToProps • Update State via component WillReceiveProps Copyright @ 2015 Learntek. All Rights Reserved. 16
  • 17. Async Status and Error Handling • Create Preloader Component • Create AJAX Status Actions • Create AJAX Status Reducer • Call Begin AJAX in Thunks • Hide Preloader Based on Status • Use Promises to Wait for Thunks • Create Form Submission Loading Indicator • Display Save Notification • Error Handling Copyright @ 2015 Learntek. All Rights Reserved. 17
  • 18. Testing React • Testing Frameworks • Helper Libraries • Testing React with React Test Utils • Testing React with Enzyme Copyright @ 2015 Learntek. All Rights Reserved. 18
  • 19. Testing Redux • Testing Connected React Components • Testing mapStateToProps • Testing Action Creators • Testing Reducers • Testing Thunks • Testing the Store Copyright @ 2015 Learntek. All Rights Reserved. 19
  • 20. Prerequisite: ▪ Basic working knowledge of HTML,CSS,JavaScript, Text editor-Visual Studio code/We storm/Atom and preffered one is Visual Studio . Copyright @ 2015 Learntek. All Rights Reserved. 20
  • 21. Copyright @ 2015 Learntek. All Rights Reserved. 21