SlideShare a Scribd company logo
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Agenda
❑ What Is Artificial Intelligence ?
❑ What Is Machine Learning ?
❑ Limitations Of Machine Learning
❑ Deep Learning To The Rescue
❑ What Is Deep Learning ?
❑ Deep Learning Applications
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React In Market
• React is front-end JavaScript
library developed by Facebook
in 2013.
• It is open-sourced and follows
the component based
approach.
• Facebook deployed React in its
newsfeeds in 2011, which
improved its UI drastically.
• Its maintained by Facebook
and Instagram.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Job Trends
Below are the number for job postings for Spring Framework professionals on various job portals as on Sep 2017
Job Trend In India Job Trend In USA
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Job Trends
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Interview Questions
Let’s find out frequently asked questions in interviews.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
1. What is React?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
1. What is React?
• Frontend JavaScript library
• Developed by Facebook in 2011
• Follows component based approach
• It allows to create reusable UI components
• Used to develop complex, interactive web as well as mobile UI
• Open-sourced in 2015 and has strong foundation and large community
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
2. What are the features of React?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
2. What are the features of React?
• It uses Virtual DOM instead of Real DOM
• Does Server-side rendering
• Follows Uni-directional data flow i.e one way data binding
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
3. List some of the major advantages of React.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
3. List some of the major advantages of React.
• Increases applications performance
• Can be used on client as well as server side
• Readability of the code is improved
• Can be easily used with other frameworks
• It is extremely easy to write UI test cases
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
4. What are the limitations of React?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
4. What are the limitations of React?
• Not a full scale framework i.e its just the view
• It’s library is quite large
• Difficult to understand for novice programmers
• Uses inline templating and JSX
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
5. What is JSX?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
5. What is JSX?
• JSX stands for JavaScript XML
• Utilizes the expressiveness of JavaScript with a HTML – like template syntax.
• Makes HTML easy to understand
• It is Robust
• Boosts up the JS performance
• JSX expression must have only one outermost element
JSX
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
6. What do you understand by Virtual DOM? Explain its working.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
6. What do you understand by Virtual DOM? Explain its working.
• Lightweight JavaScript object which is the copy of the real DOM.
• It works in 3 simple steps:
i. Whenever any underlying data changes, the entire UI is re-rendered in Virtual DOM representation.
ii. Then the difference between the previous DOM representation and the new one is calculated.
iii. Once the calculations are done, the real DOM will be updated with only the things that have actually changed.
Virtual
DOM
Real
DOM
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
7. Differentiate between Real DOM and Virtual DOM.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
7. Differentiate between Real DOM and Virtual DOM.
Virtual DOM Real DOM
1. Updates faster 1. Updates Slower
2. Can’t directly update HTML 2. Can directly update HTML
3. Updates if JSX element renders 3. If elements updates creates a new DOM
4. No DOM manipulation expense 4. DOM manipulation is very expensive
5. No memory wastage 5. Too much of memory wastage
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
8. Why browsers can’t read JSX?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
8. Why browsers can’t read JSX?
• JSX is not a regular JavaScript.
• Browsers can read JavaScript objects only.
• JSX file is converted to JS object by JSX Transformer like Babel, before reaching Browser.
JSX File JSX Transformer JavaScript Object Browser
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
9. What do you understand from ‘In React everything is a component’?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
9. What do you understand from ‘In React, everything is a component’?
• Components are building blocks of React application’s UI.
• Components splits the UI into independent, reusable pieces, and renders each piece independently
• JavaScript functions which takes in arbitrary inputs and returns HTML representation.
1
3
4
2
5
1
3
4
2
5
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
10. Explain the purpose of render() in React.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
10. Explain the purpose of render() in React.
• Every component must have a render().
• It is returns single React element which is the representation of native DOM component.
• HTML elements inside render() must be enclosed inside an enclosing tag like <div>,<group>,<form> etc.
• Should be a pure function.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
11. How can you embed two components into one?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
11. How can you embed two components into one?
class MyComponent extends React.Component{
render(){
return(
<div>
<h1>Hello</h1>
<Header/>
</div>
);
}
}
class Header extends React.Component{
render(){
return <h1>Header Component</h1>
};
}
ReactDOM.render(
<MyComponent/>, document.getElementById('content')
);
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
12. Explain props in React.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
• Short for properties.
• Are Read-only.
• Are pure i.e. immutable
• Always passed down from
parent to child component
• Used to render dynamic data
class MyComponent extends React.Component{
render(){
return(
<div>
<h1>Hello</h1>
<Header name="maxx" id="101"/>
</div>
);
}
}
function Header(props) {
return (
<div>
<h1> Welcome : {props.name}</h1>
<h1> Id is : {props.id}</h1>
</div>
);}}
ReactDOM.render(<MyComponent/>, document.getElementById('content'));
12. Explain props in React.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
13. What is a state in React and how it is used?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
• Heart of react components
• Must be kept as simple as possible
• Determines components rendering and behavior
• Creates dynamic and interactive components
• It is accessed via this.state()
• Can update the state using this.setState()
class MyComponent extends React.Component {
constructor() {
super();
this.state = {
name: 'Maxx',
id: '101'
}
}
render()
{
return (
<div>
<h1>Hello {this.state.name}</h1>
<h2>Your Id is {this.state.id}</h2>
</div>
);
}
}
ReactDOM.render(
<MyComponent/>, document.getElementById('content')
);
13. What is a state in React and how it is used?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
14. Differentiate between state and props?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
14. Differentiate between state and props?
Conditions State Prop
1. Receive initial value from parent Component
2. Parent Component can change value
3. Set default values inside Component
4. Changes inside Component
5. Set initial value for child Components
6. Changes inside child Components
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
15. How can you update state of a component?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
15. How can you update state of a component?
• Using this.setState()
function you can
change the states of
the component.
class MyComponent extends React.Component {
constructor() {
super();
this.state = {
name: 'Maxx', id: '101'
}
}
render()
{
setTimeout(()=>{this.setState({name:'Jaeha', id:'222'})},2000)
return (
<div>
<h1>Hello {this.state.name}</h1>
<h2>Your Id is {this.state.id}</h2>
</div>
);
}
}
ReactDOM.render( <MyComponent/>, document.getElementById('content'));
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
16. What is arrow function? How its used?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
16. What is arrow function? How its used?
• Also called ‘fat arrow function’ ( => )
• Allows to do bind the context of components properly since auto-binding is not available by
default in ES6.
• Makes easier to work with higher order functions.
render() {
return(<MyInput onChange={
this.handleChange.bind(this) } />)
}
render() {
return(<MyInput onChange={ (e) =>
this.handleOnChange(e) } />)
}
General Way With Arrow Function
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
17. Differentiate between stateful and stateless components.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
17. Differentiate between stateful and stateless components.
Stateful Component Stateless Component
1. Stores info about components state change in memory 1. Calculates the internal state of the components
2. Have authority to change state 2. Do not have the authority to change state
3. Contains the knowledge of past, current and possible
future changes in state
3. Contains no knowledge of past, current and possible
future state changes
4. Stateless components notifies them about the
requirement of the state change, then they send down
the props to them.
4. They receive the props from the Stateful components
and treat them as callback functions.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
18. What are the different phases of React component’s lifecycle?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
getDefaultProps()
getInitialState()
componentWillMount()
render()
componentDidMount()
componentsWillUnmount()
componentsWillReceiveProps()
shouldComponentUpdate()
componentWillUpdate()
render()
componentDidUpdate()
Initial
Phase
Updating
Phase
Unmounting
Phase
React Interview Questions
18. What are the different phases of React component’s lifecycle?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
19. Explain the lifecycle methods of React components in details.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
19. Explain the lifecycle methods of React components in details.
• componentWillMount() is executed just before rendering both on client and server-side
• componentDidMount() is executed after first render only on the client side
• componentWillReceiveProps() is invoked as soon as the props are received from parent
class before another render is called.
• shouldComponentUpdate() returns true or false value based on certain conditions. If you
want your component to update return true else return false. By default its false.
• componentWillUpdate() is called just before rendering takes place.
• componentDidUpdate() is called just after rendering takes place.
• componentWillUnmount() is called after the component is unmounted from the dom. It is
used to clear up the memory spaces.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
20. What is an event in React?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
• Events are the triggered reactions to specific actions like mouse hover, mouse click, key press
etc.
• React events are similar to HTML, JavaScript events.
20. What is an event in React?
ACTION: Switch ON
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
21. How do you create an event in React?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
21. How do you create an event in React?
class Display extends React.Component({
show(evt) {
// code
},
render() {
// Render the div with an onClick prop (value is a function)
return <div onClick={this.show}>Click Me!</div>;
}
});
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
22. What are synthetic events in React?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
• Cross browser wrappers around the browsers native event system.
• Combines the browsers behaviors into one API.
• Done to ensure events have consistent properties across different browsers.
22. What are synthetic events in React?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
23. What do you understand by refs in React?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
• Refs stands for References
• Used to return references to a particular element or component returned by render().
• useful when we need DOM measurements or to add methods to the components
23. What do you understand by refs in React?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
24. List some of the cases when you should use Refs.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
• Managing focus, text selection or media playback
• Triggering imperative animations
• Integrating with third-party DOM libraries
24. List some of the cases when you should use Refs.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
25. How do you modularize code in React?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
export default class ChildComponent
extends React.Component {
render() {
return(
<div>
<h1>This is a child
component</h1>
</div>
)
}
}
import ChildComponent from
'./childcomponent.js';
class ParentComponent extends
React.Component {
render() {
return(
<div>
<App />
</div>
)
}
}
By using the export and import properties we can write the components separately in different files.
25. How do you modularize code in React?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
26. How React syntax changed from ES5 to ES6?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
26. How React syntax changed from ES5 to ES6?
class MyComponent extends React.Component{
show(){..}
render(){
return(
<div>
<h1>Hello</h1>
</div>
);
}
}
var MyComponent = React.createClass({
display : function () {..} ,
render : function () {
return(
<div>
<h1>Hello</h1>
</div>
);
}
});
ES5 ES6
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
27. How forms are created in React?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
27. How forms are created in React?
• HTML form elements maintain their own state in regular DOMs and update themselves
based on user inputs.
• In React, state is contained in the state property of the component and is only updated
via setState().
• JavaScript function is used for handling the form submission.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
28. What do you know about controlled and uncontrolled components?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
28. What do you know about controlled and uncontrolled components?
Controlled Components
• Do not maintain their own state.
• Data is controlled by parent component.
• Takes in current values through props and
notifies changes via callbacks
Uncontrolled Components
• Maintain their own state.
• Data is controlled by DOM.
• Refs are used to get their current value
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
29. What are higher order components?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
29. What are higher order components?
• Custom components which wraps another component.
• They accept dynamically provided child components.
• Do not modify the input component.
• Do not copy any behavior from the input component
• Are “Pure” functions.
<HigherOrderComponnent/>
<InnerComponnent/>
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
30. When can you do with HOC?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
30. When can you do with HOC?
• Code reuse, logic and bootstrap abstraction
• Render High jacking
• State abstraction and manipulation
• Props manipulation
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
31. What is the significance of keys in React?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
31. What is the significance of keys in React?
• Used to identify unique Virtual DOM Elements with their corresponding data driving the UI
• Helps React to optimize rendering by recycling existing DOM elements
• Keys must be a unique number or string
• Instead of re-rendering, with keys React just re-orders the elements
• Application's performance increases
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
32. What are Pure Components?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
32. What are Pure Components?
• Pure components are the simplest, fastest components which we can write.
• Can replace any component that only has render().
• Enhances the simplicity and performance of the application.
ReactDOM.render(<h1>Hello</h1>, document.getElementById('content'));
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
33. Major problems with MVC framework?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
33. Major problems with MVC framework?
• DOM manipulation was very expensive
• Slow and inefficient
• Memory wastage
• Because of circular dependencies, complicated model was created around models and views
Controller
ModelView
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
34. Explain Flux.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
34. Explain Flux.
• Architectural pattern that enforces uni-directional data flow
• Controls derived data and enables communication between multiple components
• Contains a central Store which has authority for all data
• Any update in data must occur here only
• Provides stability to the application
• Reduces run-time errors
Action Dispatcher Store View
Action
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
35. What is Redux?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
35. What is Redux?
• Redux one of the hottest libraries for front end development
• Redux is a predictable state container for JavaScript apps
• Mostly used for applications State Management
• Applications developed with Redux are easy to test.
• Helps to write applications that behave consistently and can run in different environments
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
36. What are the three principles that Redux follows?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
36. What are the three principles that Redux follows?
1. Single source of truth
2. State is read-only
3. Changes are made with pure functions
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
37. What do you understand by single source of truth?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
37. What do you understand by single source of truth?
• Redux uses Store for storing all the application state
at one place.
• Components state is stored in the Store and they
receive updates from the store itself.
• The single state tree makes it easier to keep track of
changes over time and debug or inspect the
application.
Store
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
38. List down the components of Redux.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
38. List down the components of Redux.
1. Action - It's an object that describes what happened.
2. Reducer - It is a place to determine how the state will change
3. Store – State/Object tree of the entire application is saved in the store.
4. View – Simply displays the data provided by the Store.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
39. How the data flows through Redux?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
39. How the data flows through Redux?
Reducers
Provider
Component
Actions
One Store
Container
(Dumb Component)
Container
(Smart Component)
Re-render when
Store changes
Pass Data As
Props
Store
Store
Store
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
40. How Actions are defined in Redux?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
40. How Actions are defined in Redux?
function addTodo(text)
{
return
{
type: ADD_TODO,
text
}
}
• Must have type property that indicates the type of
ACTION being performed.
• They must be defined as String constant.
• You can add more properties to it.
• Actions are created using functions called Action Creators
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
41. Explain the role of Reducer.
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
41. Explain the role of Reducer.
• Reducers are pure functions which specify how the applications
state changes in response to an ACTION.
• Takes in the previous state and an action and returns the new
state
• Determines what sort of update needs to be done based on the
type of the action, and returns new values
• It returns the previous state if no work needs to be done
Reducer
Prev State ACTION
New State
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
42. What is the significance of Store in Redux?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
42. What is the significance of Store in Redux?
• A store is a JavaScript object which can hold the application's state and
• It provides a few helper methods to access the state, dispatch actions and register listeners.
• With Store the data state can be synchronized from the server level to the client layer
without much hassle.
• This makes the development of large applications easier and faster.
import { createStore } from 'redux'
import todoApp from './reducers’
let store = createStore(reducer);
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
43. How Redux is different from Flux?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
43. How Redux is different from Flux?
FLUX
• Store contains state and change logic
• Multiple stores
• Flat disconnected stores
• Singleton dispatcher
• React components subscribe to the store
• State is mutated
REDUX
• Store and change logic are separate
• Single Store
• Single store with hierarchical reduces
• No dispatcher
• Container components utilize connect
• State is immutable
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
44. What are the advantages of Redux?
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
44. What are the advantages of Redux?
1. Predictability
2. Maintainability
3. Server side rendering
4. Developers tool
5. Huge community
6. Ease of testing
7. Precise organization of code
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
React Interview Questions
45. How React is different from Angular?
React Topic Angular
View Architecture MVC
SSR Rendering CSR
Virtual DOM DOM Real DOM
One Way Binding Data Binding
Two Way
Binding
Compile Time Debugging Run Time
Facebook Author Google
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
Popularity

More Related Content

What's hot (20)

React js programming concept
React js programming conceptReact js programming concept
React js programming concept
Tariqul islam
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptx
PradeepDyavannanavar
 
Advanced Javascript
Advanced JavascriptAdvanced Javascript
Advanced Javascript
Adieu
 
Javascript functions
Javascript functionsJavascript functions
Javascript functions
Alaref Abushaala
 
Spring Interview Questions and Answers | Spring Tutorial | Spring Framework T...
Spring Interview Questions and Answers | Spring Tutorial | Spring Framework T...Spring Interview Questions and Answers | Spring Tutorial | Spring Framework T...
Spring Interview Questions and Answers | Spring Tutorial | Spring Framework T...
Edureka!
 
Spring Framework - Core
Spring Framework - CoreSpring Framework - Core
Spring Framework - Core
Dzmitry Naskou
 
Use Node.js to create a REST API
Use Node.js to create a REST APIUse Node.js to create a REST API
Use Node.js to create a REST API
Fabien Vauchelles
 
LDAP
LDAPLDAP
LDAP
Khemnath Chauhan
 
Angular overview
Angular overviewAngular overview
Angular overview
Thanvilahari
 
React Context API
React Context APIReact Context API
React Context API
NodeXperts
 
Getting started with typescript
Getting started with typescriptGetting started with typescript
Getting started with typescript
C...L, NESPRESSO, WAFAASSURANCE, SOFRECOM ORANGE
 
Java - Collections framework
Java - Collections frameworkJava - Collections framework
Java - Collections framework
Riccardo Cardin
 
Spring Boot and REST API
Spring Boot and REST APISpring Boot and REST API
Spring Boot and REST API
07.pallav
 
Jdbc Ppt
Jdbc PptJdbc Ppt
Jdbc Ppt
Centre for Budget and Governance Accountability (CBGA)
 
React hooks
React hooksReact hooks
React hooks
Ramy ElBasyouni
 
Angular Directives
Angular DirectivesAngular Directives
Angular Directives
iFour Technolab Pvt. Ltd.
 
Clean architecture - Protecting the Domain
Clean architecture - Protecting the DomainClean architecture - Protecting the Domain
Clean architecture - Protecting the Domain
Victor Rentea
 
Angular Directives
Angular DirectivesAngular Directives
Angular Directives
Malla Reddy University
 
ReactJS presentation.pptx
ReactJS presentation.pptxReactJS presentation.pptx
ReactJS presentation.pptx
DivyanshGupta922023
 
Java Spring Framework
Java Spring FrameworkJava Spring Framework
Java Spring Framework
Mehul Jariwala
 

Similar to React Interview Questions and Answers | React Tutorial | React Redux Online Training | Edureka (20)

React JS Interview Question & Answer
React JS Interview Question & AnswerReact JS Interview Question & Answer
React JS Interview Question & Answer
Mildain Solutions
 
React Interview Question PDF By ScholarHat
React Interview Question PDF By ScholarHatReact Interview Question PDF By ScholarHat
React Interview Question PDF By ScholarHat
Scholarhat
 
React Interview Questions for Noobs or Juniors
React Interview Questions for Noobs or JuniorsReact Interview Questions for Noobs or Juniors
React Interview Questions for Noobs or Juniors
Your Study_Buddy
 
ReactJS Tutorial For Beginners | ReactJS Redux Training For Beginners | React...
ReactJS Tutorial For Beginners | ReactJS Redux Training For Beginners | React...ReactJS Tutorial For Beginners | ReactJS Redux Training For Beginners | React...
ReactJS Tutorial For Beginners | ReactJS Redux Training For Beginners | React...
Edureka!
 
20 React Interview Questions. Pdf Download
20 React Interview Questions. Pdf Download20 React Interview Questions. Pdf Download
20 React Interview Questions. Pdf Download
Mohd Quasim
 
reactjs interview questions.pdf
reactjs interview questions.pdfreactjs interview questions.pdf
reactjs interview questions.pdf
rohityadav23214
 
React JS Interview Questions PDF By ScholarHat
React JS Interview Questions PDF By ScholarHatReact JS Interview Questions PDF By ScholarHat
React JS Interview Questions PDF By ScholarHat
Scholarhat
 
React_Complete.pptx
React_Complete.pptxReact_Complete.pptx
React_Complete.pptx
kamalakantas
 
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
jobinThomas54
 
What Is React | ReactJS Tutorial for Beginners | ReactJS Training | Edureka
What Is React | ReactJS Tutorial for Beginners | ReactJS Training | EdurekaWhat Is React | ReactJS Tutorial for Beginners | ReactJS Training | Edureka
What Is React | ReactJS Tutorial for Beginners | ReactJS Training | Edureka
Edureka!
 
Tech Talk on ReactJS
Tech Talk on ReactJSTech Talk on ReactJS
Tech Talk on ReactJS
Atlogys Technical Consulting
 
React Interview Questions and Answers by Scholarhat
React Interview Questions and Answers by ScholarhatReact Interview Questions and Answers by Scholarhat
React Interview Questions and Answers by Scholarhat
Scholarhat
 
Welcome to React & Flux !
Welcome to React & Flux !Welcome to React & Flux !
Welcome to React & Flux !
Ritesh Kumar
 
React js
React jsReact js
React js
Rajesh Kolla
 
[Final] ReactJS presentation
[Final] ReactJS presentation[Final] ReactJS presentation
[Final] ReactJS presentation
洪 鹏发
 
React js Rahil Memon
React js Rahil MemonReact js Rahil Memon
React js Rahil Memon
RahilMemon5
 
reactJS
reactJSreactJS
reactJS
Syam Santhosh
 
React Interview Question & Answers PDF By ScholarHat
React Interview Question & Answers PDF By ScholarHatReact Interview Question & Answers PDF By ScholarHat
React Interview Question & Answers PDF By ScholarHat
Scholarhat
 
ReactJs
ReactJsReactJs
ReactJs
Sahana Banerjee
 
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
Karmanjay Verma
 
React JS Interview Question & Answer
React JS Interview Question & AnswerReact JS Interview Question & Answer
React JS Interview Question & Answer
Mildain Solutions
 
React Interview Question PDF By ScholarHat
React Interview Question PDF By ScholarHatReact Interview Question PDF By ScholarHat
React Interview Question PDF By ScholarHat
Scholarhat
 
React Interview Questions for Noobs or Juniors
React Interview Questions for Noobs or JuniorsReact Interview Questions for Noobs or Juniors
React Interview Questions for Noobs or Juniors
Your Study_Buddy
 
ReactJS Tutorial For Beginners | ReactJS Redux Training For Beginners | React...
ReactJS Tutorial For Beginners | ReactJS Redux Training For Beginners | React...ReactJS Tutorial For Beginners | ReactJS Redux Training For Beginners | React...
ReactJS Tutorial For Beginners | ReactJS Redux Training For Beginners | React...
Edureka!
 
20 React Interview Questions. Pdf Download
20 React Interview Questions. Pdf Download20 React Interview Questions. Pdf Download
20 React Interview Questions. Pdf Download
Mohd Quasim
 
reactjs interview questions.pdf
reactjs interview questions.pdfreactjs interview questions.pdf
reactjs interview questions.pdf
rohityadav23214
 
React JS Interview Questions PDF By ScholarHat
React JS Interview Questions PDF By ScholarHatReact JS Interview Questions PDF By ScholarHat
React JS Interview Questions PDF By ScholarHat
Scholarhat
 
React_Complete.pptx
React_Complete.pptxReact_Complete.pptx
React_Complete.pptx
kamalakantas
 
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
jobinThomas54
 
What Is React | ReactJS Tutorial for Beginners | ReactJS Training | Edureka
What Is React | ReactJS Tutorial for Beginners | ReactJS Training | EdurekaWhat Is React | ReactJS Tutorial for Beginners | ReactJS Training | Edureka
What Is React | ReactJS Tutorial for Beginners | ReactJS Training | Edureka
Edureka!
 
React Interview Questions and Answers by Scholarhat
React Interview Questions and Answers by ScholarhatReact Interview Questions and Answers by Scholarhat
React Interview Questions and Answers by Scholarhat
Scholarhat
 
Welcome to React & Flux !
Welcome to React & Flux !Welcome to React & Flux !
Welcome to React & Flux !
Ritesh Kumar
 
[Final] ReactJS presentation
[Final] ReactJS presentation[Final] ReactJS presentation
[Final] ReactJS presentation
洪 鹏发
 
React js Rahil Memon
React js Rahil MemonReact js Rahil Memon
React js Rahil Memon
RahilMemon5
 
React Interview Question & Answers PDF By ScholarHat
React Interview Question & Answers PDF By ScholarHatReact Interview Question & Answers PDF By ScholarHat
React Interview Question & Answers PDF By ScholarHat
Scholarhat
 
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
Karmanjay Verma
 
Ad

More from Edureka! (20)

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | Edureka
Edureka!
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
Edureka!
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
Edureka!
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | Edureka
Edureka!
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
Edureka!
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | Edureka
Edureka!
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | Edureka
Edureka!
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | Edureka
Edureka!
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| Edureka
Edureka!
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | Edureka
Edureka!
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | Edureka
Edureka!
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | Edureka
Edureka!
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | Edureka
Edureka!
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | Edureka
Edureka!
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
Edureka!
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | Edureka
Edureka!
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka
Edureka!
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Edureka!
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | Edureka
Edureka!
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | Edureka
Edureka!
 
What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | Edureka
Edureka!
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
Edureka!
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
Edureka!
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | Edureka
Edureka!
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
Edureka!
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | Edureka
Edureka!
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | Edureka
Edureka!
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | Edureka
Edureka!
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| Edureka
Edureka!
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | Edureka
Edureka!
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | Edureka
Edureka!
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | Edureka
Edureka!
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | Edureka
Edureka!
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | Edureka
Edureka!
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
Edureka!
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | Edureka
Edureka!
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka
Edureka!
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Edureka!
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | Edureka
Edureka!
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | Edureka
Edureka!
 
Ad

Recently uploaded (20)

Creating an Accessible Future-How AI-powered Accessibility Testing is Shaping...
Creating an Accessible Future-How AI-powered Accessibility Testing is Shaping...Creating an Accessible Future-How AI-powered Accessibility Testing is Shaping...
Creating an Accessible Future-How AI-powered Accessibility Testing is Shaping...
Impelsys Inc.
 
How to Detect Outliers in IBM SPSS Statistics.pptx
How to Detect Outliers in IBM SPSS Statistics.pptxHow to Detect Outliers in IBM SPSS Statistics.pptx
How to Detect Outliers in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Viral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Viral>Wondershare Filmora 14.5.18.12900 Crack Free DownloadViral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Viral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Puppy jhon
 
The State of Web3 Industry- Industry Report
The State of Web3 Industry- Industry ReportThe State of Web3 Industry- Industry Report
The State of Web3 Industry- Industry Report
Liveplex
 
Precisely Demo Showcase: Powering ServiceNow Discovery with Precisely Ironstr...
Precisely Demo Showcase: Powering ServiceNow Discovery with Precisely Ironstr...Precisely Demo Showcase: Powering ServiceNow Discovery with Precisely Ironstr...
Precisely Demo Showcase: Powering ServiceNow Discovery with Precisely Ironstr...
Precisely
 
If You Use Databricks, You Definitely Need FME
If You Use Databricks, You Definitely Need FMEIf You Use Databricks, You Definitely Need FME
If You Use Databricks, You Definitely Need FME
Safe Software
 
Domino IQ – What to Expect, First Steps and Use Cases
Domino IQ – What to Expect, First Steps and Use CasesDomino IQ – What to Expect, First Steps and Use Cases
Domino IQ – What to Expect, First Steps and Use Cases
panagenda
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
National Fuels Treatments Initiative: Building a Seamless Map of Hazardous Fu...
National Fuels Treatments Initiative: Building a Seamless Map of Hazardous Fu...National Fuels Treatments Initiative: Building a Seamless Map of Hazardous Fu...
National Fuels Treatments Initiative: Building a Seamless Map of Hazardous Fu...
Safe Software
 
Providing an OGC API Processes REST Interface for FME Flow
Providing an OGC API Processes REST Interface for FME FlowProviding an OGC API Processes REST Interface for FME Flow
Providing an OGC API Processes REST Interface for FME Flow
Safe Software
 
Kubernetes Security Act Now Before It’s Too Late
Kubernetes Security Act Now Before It’s Too LateKubernetes Security Act Now Before It’s Too Late
Kubernetes Security Act Now Before It’s Too Late
Michael Furman
 
How Advanced Environmental Detection Is Revolutionizing Oil & Gas Safety.pdf
How Advanced Environmental Detection Is Revolutionizing Oil & Gas Safety.pdfHow Advanced Environmental Detection Is Revolutionizing Oil & Gas Safety.pdf
How Advanced Environmental Detection Is Revolutionizing Oil & Gas Safety.pdf
Rejig Digital
 
Your startup on AWS - How to architect and maintain a Lean and Mean account
Your startup on AWS - How to architect and maintain a Lean and Mean accountYour startup on AWS - How to architect and maintain a Lean and Mean account
Your startup on AWS - How to architect and maintain a Lean and Mean account
angelo60207
 
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven InfrastructureNo-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
Safe Software
 
Secure Access with Azure Active Directory
Secure Access with Azure Active DirectorySecure Access with Azure Active Directory
Secure Access with Azure Active Directory
VICTOR MAESTRE RAMIREZ
 
Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...
Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...
Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...
Safe Software
 
AI Agents in Logistics and Supply Chain Applications Benefits and Implementation
AI Agents in Logistics and Supply Chain Applications Benefits and ImplementationAI Agents in Logistics and Supply Chain Applications Benefits and Implementation
AI Agents in Logistics and Supply Chain Applications Benefits and Implementation
Christine Shepherd
 
Developing Schemas with FME and Excel - Peak of Data & AI 2025
Developing Schemas with FME and Excel - Peak of Data & AI 2025Developing Schemas with FME and Excel - Peak of Data & AI 2025
Developing Schemas with FME and Excel - Peak of Data & AI 2025
Safe Software
 
Oracle Cloud and AI Specialization Program
Oracle Cloud and AI Specialization ProgramOracle Cloud and AI Specialization Program
Oracle Cloud and AI Specialization Program
VICTOR MAESTRE RAMIREZ
 
“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...
“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...
“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...
Edge AI and Vision Alliance
 
Creating an Accessible Future-How AI-powered Accessibility Testing is Shaping...
Creating an Accessible Future-How AI-powered Accessibility Testing is Shaping...Creating an Accessible Future-How AI-powered Accessibility Testing is Shaping...
Creating an Accessible Future-How AI-powered Accessibility Testing is Shaping...
Impelsys Inc.
 
How to Detect Outliers in IBM SPSS Statistics.pptx
How to Detect Outliers in IBM SPSS Statistics.pptxHow to Detect Outliers in IBM SPSS Statistics.pptx
How to Detect Outliers in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Viral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Viral>Wondershare Filmora 14.5.18.12900 Crack Free DownloadViral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Viral>Wondershare Filmora 14.5.18.12900 Crack Free Download
Puppy jhon
 
The State of Web3 Industry- Industry Report
The State of Web3 Industry- Industry ReportThe State of Web3 Industry- Industry Report
The State of Web3 Industry- Industry Report
Liveplex
 
Precisely Demo Showcase: Powering ServiceNow Discovery with Precisely Ironstr...
Precisely Demo Showcase: Powering ServiceNow Discovery with Precisely Ironstr...Precisely Demo Showcase: Powering ServiceNow Discovery with Precisely Ironstr...
Precisely Demo Showcase: Powering ServiceNow Discovery with Precisely Ironstr...
Precisely
 
If You Use Databricks, You Definitely Need FME
If You Use Databricks, You Definitely Need FMEIf You Use Databricks, You Definitely Need FME
If You Use Databricks, You Definitely Need FME
Safe Software
 
Domino IQ – What to Expect, First Steps and Use Cases
Domino IQ – What to Expect, First Steps and Use CasesDomino IQ – What to Expect, First Steps and Use Cases
Domino IQ – What to Expect, First Steps and Use Cases
panagenda
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
National Fuels Treatments Initiative: Building a Seamless Map of Hazardous Fu...
National Fuels Treatments Initiative: Building a Seamless Map of Hazardous Fu...National Fuels Treatments Initiative: Building a Seamless Map of Hazardous Fu...
National Fuels Treatments Initiative: Building a Seamless Map of Hazardous Fu...
Safe Software
 
Providing an OGC API Processes REST Interface for FME Flow
Providing an OGC API Processes REST Interface for FME FlowProviding an OGC API Processes REST Interface for FME Flow
Providing an OGC API Processes REST Interface for FME Flow
Safe Software
 
Kubernetes Security Act Now Before It’s Too Late
Kubernetes Security Act Now Before It’s Too LateKubernetes Security Act Now Before It’s Too Late
Kubernetes Security Act Now Before It’s Too Late
Michael Furman
 
How Advanced Environmental Detection Is Revolutionizing Oil & Gas Safety.pdf
How Advanced Environmental Detection Is Revolutionizing Oil & Gas Safety.pdfHow Advanced Environmental Detection Is Revolutionizing Oil & Gas Safety.pdf
How Advanced Environmental Detection Is Revolutionizing Oil & Gas Safety.pdf
Rejig Digital
 
Your startup on AWS - How to architect and maintain a Lean and Mean account
Your startup on AWS - How to architect and maintain a Lean and Mean accountYour startup on AWS - How to architect and maintain a Lean and Mean account
Your startup on AWS - How to architect and maintain a Lean and Mean account
angelo60207
 
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven InfrastructureNo-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
Safe Software
 
Secure Access with Azure Active Directory
Secure Access with Azure Active DirectorySecure Access with Azure Active Directory
Secure Access with Azure Active Directory
VICTOR MAESTRE RAMIREZ
 
Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...
Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...
Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...
Safe Software
 
AI Agents in Logistics and Supply Chain Applications Benefits and Implementation
AI Agents in Logistics and Supply Chain Applications Benefits and ImplementationAI Agents in Logistics and Supply Chain Applications Benefits and Implementation
AI Agents in Logistics and Supply Chain Applications Benefits and Implementation
Christine Shepherd
 
Developing Schemas with FME and Excel - Peak of Data & AI 2025
Developing Schemas with FME and Excel - Peak of Data & AI 2025Developing Schemas with FME and Excel - Peak of Data & AI 2025
Developing Schemas with FME and Excel - Peak of Data & AI 2025
Safe Software
 
Oracle Cloud and AI Specialization Program
Oracle Cloud and AI Specialization ProgramOracle Cloud and AI Specialization Program
Oracle Cloud and AI Specialization Program
VICTOR MAESTRE RAMIREZ
 
“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...
“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...
“State-space Models vs. Transformers for Ultra-low-power Edge AI,” a Presenta...
Edge AI and Vision Alliance
 

React Interview Questions and Answers | React Tutorial | React Redux Online Training | Edureka

  • 1. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Agenda ❑ What Is Artificial Intelligence ? ❑ What Is Machine Learning ? ❑ Limitations Of Machine Learning ❑ Deep Learning To The Rescue ❑ What Is Deep Learning ? ❑ Deep Learning Applications
  • 2. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React In Market • React is front-end JavaScript library developed by Facebook in 2013. • It is open-sourced and follows the component based approach. • Facebook deployed React in its newsfeeds in 2011, which improved its UI drastically. • Its maintained by Facebook and Instagram.
  • 3. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Job Trends Below are the number for job postings for Spring Framework professionals on various job portals as on Sep 2017 Job Trend In India Job Trend In USA
  • 4. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Job Trends
  • 5. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Interview Questions Let’s find out frequently asked questions in interviews.
  • 6. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 1. What is React?
  • 7. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 1. What is React? • Frontend JavaScript library • Developed by Facebook in 2011 • Follows component based approach • It allows to create reusable UI components • Used to develop complex, interactive web as well as mobile UI • Open-sourced in 2015 and has strong foundation and large community
  • 8. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 2. What are the features of React?
  • 9. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 2. What are the features of React? • It uses Virtual DOM instead of Real DOM • Does Server-side rendering • Follows Uni-directional data flow i.e one way data binding
  • 10. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 3. List some of the major advantages of React.
  • 11. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 3. List some of the major advantages of React. • Increases applications performance • Can be used on client as well as server side • Readability of the code is improved • Can be easily used with other frameworks • It is extremely easy to write UI test cases
  • 12. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 4. What are the limitations of React?
  • 13. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 4. What are the limitations of React? • Not a full scale framework i.e its just the view • It’s library is quite large • Difficult to understand for novice programmers • Uses inline templating and JSX
  • 14. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 5. What is JSX?
  • 15. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 5. What is JSX? • JSX stands for JavaScript XML • Utilizes the expressiveness of JavaScript with a HTML – like template syntax. • Makes HTML easy to understand • It is Robust • Boosts up the JS performance • JSX expression must have only one outermost element JSX
  • 16. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 6. What do you understand by Virtual DOM? Explain its working.
  • 17. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 6. What do you understand by Virtual DOM? Explain its working. • Lightweight JavaScript object which is the copy of the real DOM. • It works in 3 simple steps: i. Whenever any underlying data changes, the entire UI is re-rendered in Virtual DOM representation. ii. Then the difference between the previous DOM representation and the new one is calculated. iii. Once the calculations are done, the real DOM will be updated with only the things that have actually changed. Virtual DOM Real DOM
  • 18. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 7. Differentiate between Real DOM and Virtual DOM.
  • 19. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 7. Differentiate between Real DOM and Virtual DOM. Virtual DOM Real DOM 1. Updates faster 1. Updates Slower 2. Can’t directly update HTML 2. Can directly update HTML 3. Updates if JSX element renders 3. If elements updates creates a new DOM 4. No DOM manipulation expense 4. DOM manipulation is very expensive 5. No memory wastage 5. Too much of memory wastage
  • 20. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 8. Why browsers can’t read JSX?
  • 21. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 8. Why browsers can’t read JSX? • JSX is not a regular JavaScript. • Browsers can read JavaScript objects only. • JSX file is converted to JS object by JSX Transformer like Babel, before reaching Browser. JSX File JSX Transformer JavaScript Object Browser
  • 22. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 9. What do you understand from ‘In React everything is a component’?
  • 23. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 9. What do you understand from ‘In React, everything is a component’? • Components are building blocks of React application’s UI. • Components splits the UI into independent, reusable pieces, and renders each piece independently • JavaScript functions which takes in arbitrary inputs and returns HTML representation. 1 3 4 2 5 1 3 4 2 5
  • 24. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 10. Explain the purpose of render() in React.
  • 25. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 10. Explain the purpose of render() in React. • Every component must have a render(). • It is returns single React element which is the representation of native DOM component. • HTML elements inside render() must be enclosed inside an enclosing tag like <div>,<group>,<form> etc. • Should be a pure function.
  • 26. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 11. How can you embed two components into one?
  • 27. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 11. How can you embed two components into one? class MyComponent extends React.Component{ render(){ return( <div> <h1>Hello</h1> <Header/> </div> ); } } class Header extends React.Component{ render(){ return <h1>Header Component</h1> }; } ReactDOM.render( <MyComponent/>, document.getElementById('content') );
  • 28. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 12. Explain props in React.
  • 29. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions • Short for properties. • Are Read-only. • Are pure i.e. immutable • Always passed down from parent to child component • Used to render dynamic data class MyComponent extends React.Component{ render(){ return( <div> <h1>Hello</h1> <Header name="maxx" id="101"/> </div> ); } } function Header(props) { return ( <div> <h1> Welcome : {props.name}</h1> <h1> Id is : {props.id}</h1> </div> );}} ReactDOM.render(<MyComponent/>, document.getElementById('content')); 12. Explain props in React.
  • 30. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 13. What is a state in React and how it is used?
  • 31. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions • Heart of react components • Must be kept as simple as possible • Determines components rendering and behavior • Creates dynamic and interactive components • It is accessed via this.state() • Can update the state using this.setState() class MyComponent extends React.Component { constructor() { super(); this.state = { name: 'Maxx', id: '101' } } render() { return ( <div> <h1>Hello {this.state.name}</h1> <h2>Your Id is {this.state.id}</h2> </div> ); } } ReactDOM.render( <MyComponent/>, document.getElementById('content') ); 13. What is a state in React and how it is used?
  • 32. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 14. Differentiate between state and props?
  • 33. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 14. Differentiate between state and props? Conditions State Prop 1. Receive initial value from parent Component 2. Parent Component can change value 3. Set default values inside Component 4. Changes inside Component 5. Set initial value for child Components 6. Changes inside child Components
  • 34. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 15. How can you update state of a component?
  • 35. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 15. How can you update state of a component? • Using this.setState() function you can change the states of the component. class MyComponent extends React.Component { constructor() { super(); this.state = { name: 'Maxx', id: '101' } } render() { setTimeout(()=>{this.setState({name:'Jaeha', id:'222'})},2000) return ( <div> <h1>Hello {this.state.name}</h1> <h2>Your Id is {this.state.id}</h2> </div> ); } } ReactDOM.render( <MyComponent/>, document.getElementById('content'));
  • 36. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 16. What is arrow function? How its used?
  • 37. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 16. What is arrow function? How its used? • Also called ‘fat arrow function’ ( => ) • Allows to do bind the context of components properly since auto-binding is not available by default in ES6. • Makes easier to work with higher order functions. render() { return(<MyInput onChange={ this.handleChange.bind(this) } />) } render() { return(<MyInput onChange={ (e) => this.handleOnChange(e) } />) } General Way With Arrow Function
  • 38. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 17. Differentiate between stateful and stateless components.
  • 39. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 17. Differentiate between stateful and stateless components. Stateful Component Stateless Component 1. Stores info about components state change in memory 1. Calculates the internal state of the components 2. Have authority to change state 2. Do not have the authority to change state 3. Contains the knowledge of past, current and possible future changes in state 3. Contains no knowledge of past, current and possible future state changes 4. Stateless components notifies them about the requirement of the state change, then they send down the props to them. 4. They receive the props from the Stateful components and treat them as callback functions.
  • 40. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 18. What are the different phases of React component’s lifecycle?
  • 41. Copyright © 2017, edureka and/or its affiliates. All rights reserved. getDefaultProps() getInitialState() componentWillMount() render() componentDidMount() componentsWillUnmount() componentsWillReceiveProps() shouldComponentUpdate() componentWillUpdate() render() componentDidUpdate() Initial Phase Updating Phase Unmounting Phase React Interview Questions 18. What are the different phases of React component’s lifecycle?
  • 42. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 19. Explain the lifecycle methods of React components in details.
  • 43. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 19. Explain the lifecycle methods of React components in details. • componentWillMount() is executed just before rendering both on client and server-side • componentDidMount() is executed after first render only on the client side • componentWillReceiveProps() is invoked as soon as the props are received from parent class before another render is called. • shouldComponentUpdate() returns true or false value based on certain conditions. If you want your component to update return true else return false. By default its false. • componentWillUpdate() is called just before rendering takes place. • componentDidUpdate() is called just after rendering takes place. • componentWillUnmount() is called after the component is unmounted from the dom. It is used to clear up the memory spaces.
  • 44. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 20. What is an event in React?
  • 45. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions • Events are the triggered reactions to specific actions like mouse hover, mouse click, key press etc. • React events are similar to HTML, JavaScript events. 20. What is an event in React? ACTION: Switch ON
  • 46. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 21. How do you create an event in React?
  • 47. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 21. How do you create an event in React? class Display extends React.Component({ show(evt) { // code }, render() { // Render the div with an onClick prop (value is a function) return <div onClick={this.show}>Click Me!</div>; } });
  • 48. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 22. What are synthetic events in React?
  • 49. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions • Cross browser wrappers around the browsers native event system. • Combines the browsers behaviors into one API. • Done to ensure events have consistent properties across different browsers. 22. What are synthetic events in React?
  • 50. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 23. What do you understand by refs in React?
  • 51. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions • Refs stands for References • Used to return references to a particular element or component returned by render(). • useful when we need DOM measurements or to add methods to the components 23. What do you understand by refs in React?
  • 52. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 24. List some of the cases when you should use Refs.
  • 53. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions • Managing focus, text selection or media playback • Triggering imperative animations • Integrating with third-party DOM libraries 24. List some of the cases when you should use Refs.
  • 54. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 25. How do you modularize code in React?
  • 55. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions export default class ChildComponent extends React.Component { render() { return( <div> <h1>This is a child component</h1> </div> ) } } import ChildComponent from './childcomponent.js'; class ParentComponent extends React.Component { render() { return( <div> <App /> </div> ) } } By using the export and import properties we can write the components separately in different files. 25. How do you modularize code in React?
  • 56. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 26. How React syntax changed from ES5 to ES6?
  • 57. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 26. How React syntax changed from ES5 to ES6? class MyComponent extends React.Component{ show(){..} render(){ return( <div> <h1>Hello</h1> </div> ); } } var MyComponent = React.createClass({ display : function () {..} , render : function () { return( <div> <h1>Hello</h1> </div> ); } }); ES5 ES6
  • 58. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 27. How forms are created in React?
  • 59. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 27. How forms are created in React? • HTML form elements maintain their own state in regular DOMs and update themselves based on user inputs. • In React, state is contained in the state property of the component and is only updated via setState(). • JavaScript function is used for handling the form submission.
  • 60. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 28. What do you know about controlled and uncontrolled components?
  • 61. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 28. What do you know about controlled and uncontrolled components? Controlled Components • Do not maintain their own state. • Data is controlled by parent component. • Takes in current values through props and notifies changes via callbacks Uncontrolled Components • Maintain their own state. • Data is controlled by DOM. • Refs are used to get their current value
  • 62. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 29. What are higher order components?
  • 63. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 29. What are higher order components? • Custom components which wraps another component. • They accept dynamically provided child components. • Do not modify the input component. • Do not copy any behavior from the input component • Are “Pure” functions. <HigherOrderComponnent/> <InnerComponnent/>
  • 64. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 30. When can you do with HOC?
  • 65. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 30. When can you do with HOC? • Code reuse, logic and bootstrap abstraction • Render High jacking • State abstraction and manipulation • Props manipulation
  • 66. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 31. What is the significance of keys in React?
  • 67. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 31. What is the significance of keys in React? • Used to identify unique Virtual DOM Elements with their corresponding data driving the UI • Helps React to optimize rendering by recycling existing DOM elements • Keys must be a unique number or string • Instead of re-rendering, with keys React just re-orders the elements • Application's performance increases
  • 68. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 32. What are Pure Components?
  • 69. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 32. What are Pure Components? • Pure components are the simplest, fastest components which we can write. • Can replace any component that only has render(). • Enhances the simplicity and performance of the application. ReactDOM.render(<h1>Hello</h1>, document.getElementById('content'));
  • 70. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 33. Major problems with MVC framework?
  • 71. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 33. Major problems with MVC framework? • DOM manipulation was very expensive • Slow and inefficient • Memory wastage • Because of circular dependencies, complicated model was created around models and views Controller ModelView
  • 72. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 34. Explain Flux.
  • 73. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 34. Explain Flux. • Architectural pattern that enforces uni-directional data flow • Controls derived data and enables communication between multiple components • Contains a central Store which has authority for all data • Any update in data must occur here only • Provides stability to the application • Reduces run-time errors Action Dispatcher Store View Action
  • 74. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 35. What is Redux?
  • 75. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 35. What is Redux? • Redux one of the hottest libraries for front end development • Redux is a predictable state container for JavaScript apps • Mostly used for applications State Management • Applications developed with Redux are easy to test. • Helps to write applications that behave consistently and can run in different environments
  • 76. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 36. What are the three principles that Redux follows?
  • 77. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 36. What are the three principles that Redux follows? 1. Single source of truth 2. State is read-only 3. Changes are made with pure functions
  • 78. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 37. What do you understand by single source of truth?
  • 79. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 37. What do you understand by single source of truth? • Redux uses Store for storing all the application state at one place. • Components state is stored in the Store and they receive updates from the store itself. • The single state tree makes it easier to keep track of changes over time and debug or inspect the application. Store
  • 80. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 38. List down the components of Redux.
  • 81. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 38. List down the components of Redux. 1. Action - It's an object that describes what happened. 2. Reducer - It is a place to determine how the state will change 3. Store – State/Object tree of the entire application is saved in the store. 4. View – Simply displays the data provided by the Store.
  • 82. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 39. How the data flows through Redux?
  • 83. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 39. How the data flows through Redux? Reducers Provider Component Actions One Store Container (Dumb Component) Container (Smart Component) Re-render when Store changes Pass Data As Props Store Store Store
  • 84. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 40. How Actions are defined in Redux?
  • 85. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 40. How Actions are defined in Redux? function addTodo(text) { return { type: ADD_TODO, text } } • Must have type property that indicates the type of ACTION being performed. • They must be defined as String constant. • You can add more properties to it. • Actions are created using functions called Action Creators
  • 86. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 41. Explain the role of Reducer.
  • 87. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 41. Explain the role of Reducer. • Reducers are pure functions which specify how the applications state changes in response to an ACTION. • Takes in the previous state and an action and returns the new state • Determines what sort of update needs to be done based on the type of the action, and returns new values • It returns the previous state if no work needs to be done Reducer Prev State ACTION New State
  • 88. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 42. What is the significance of Store in Redux?
  • 89. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 42. What is the significance of Store in Redux? • A store is a JavaScript object which can hold the application's state and • It provides a few helper methods to access the state, dispatch actions and register listeners. • With Store the data state can be synchronized from the server level to the client layer without much hassle. • This makes the development of large applications easier and faster. import { createStore } from 'redux' import todoApp from './reducers’ let store = createStore(reducer);
  • 90. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 43. How Redux is different from Flux?
  • 91. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 43. How Redux is different from Flux? FLUX • Store contains state and change logic • Multiple stores • Flat disconnected stores • Singleton dispatcher • React components subscribe to the store • State is mutated REDUX • Store and change logic are separate • Single Store • Single store with hierarchical reduces • No dispatcher • Container components utilize connect • State is immutable
  • 92. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 44. What are the advantages of Redux?
  • 93. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 44. What are the advantages of Redux? 1. Predictability 2. Maintainability 3. Server side rendering 4. Developers tool 5. Huge community 6. Ease of testing 7. Precise organization of code
  • 94. Copyright © 2017, edureka and/or its affiliates. All rights reserved. React Interview Questions 45. How React is different from Angular? React Topic Angular View Architecture MVC SSR Rendering CSR Virtual DOM DOM Real DOM One Way Binding Data Binding Two Way Binding Compile Time Debugging Run Time Facebook Author Google
  • 95. Copyright © 2017, edureka and/or its affiliates. All rights reserved. Popularity