Name: Fjallraven - Fo
Product code: 1
Price: 109.95
Description: Your perfect pack fo
Name: John Hardy Wome
Product code: 5
Price: 695
Description: From our Legends Col
Name: Solid Gold Peti
Product code: 6
Price: 168
Description: Satisfaction Guarant
Name: White Gold Plat
Product code: 7
Price: 9.99
Description: Classic Created Wedd
Name: Pierced Owl Ros
Product code: 8
Price: 10.99
Description: Rose Gold Plated Dou
Name: WD 2TB Elements
Product code: 9
Price: 64
Description: USB 3.0 and USB 2.0
Name: SanDisk SSD PLU
Product code: 10
Price: 109
Description: Easy upgrade for fas
Name: Silicon Power 2
Product code: 11
Price: 109
Description: 3D NAND flash are ap
Name: WD 4TB Gaming D
Product code: 12
Price: 114
Description: Expand your PS4 gami
Name: Acer SB220Q bi
Product code: 13
Price: 599
Description: 21. 5 inches Full HD
Name: Samsung 49-Inch
Product code: 14
Price: 999.99
Description: 49 INCH SUPER ULTRAW
Answer: React is a library of javascript which builds user interface using declarative code. Declarative means clean idea of a particular item. Using declarative code, we create component which is how our content will be shown in the ui. Components separate the same item into a block and work show data using props. To maintain logical data react have state.
Answer: Props are send by component. State can passed as an props. State contain information of a component. State is created in the component and it can be changed. Props are read only and can not be changed.
Answer: useState is used for handling different state of condition or situation. It has two constant variable. One is act a function and another is like a varible. ex const (state,setState) = useState([]).Here state is a variable and setState is a function. In the state we pass value through setState and state recieve the value. Here useState initial value is an empty array. It will be updated using with those two constant variable.