Goriber Camera Shop

Sony Alpha

Price: $2098
Product ID: 1

Sony Janina

Price: $2919
Product ID: 2

Canon 6D

Price: $1472
Product ID: 3

Canon 70D

Price: $3030
Product ID: 4

Canon 1200D

Price: $3593
Product ID: 5

Canon 5D

Price: $3720
Product ID: 6

Sony Borolox

Price: $3331
Product ID: 7

Nikon Goribz

Price: $2435
Product ID: 8

Canon Konda

Price: $1223
Product ID: 9

Selected Items

Ques: How react works?

Ans: React is not a framework. Ract is a library. React create a virtual DOM, which is a DOM tree representation in JavaScrip. When we read or write to the DOM, React use the virtual representation. Then the virtual DOM try to find the most efficient way to update the browsers DOM.

Ques: How useEffect works?

Ans: useEffect is a react hook. It works on function component. When we use useEffect, We tell React that our component needs to do something after render by passing a function. React remember the function we passed in useEffect and call the function later after performing the DOM updates.