Topics in react

kanon chakma
Nov 5, 2020

1.React is an library not a frame work that focus only user interfaces.
In library we call method classes in library it can be control but in framework there are defined.

2.COMPONENT
React all about component.Component are part of UI that are independent and we can reuse.

3.JSX
jsx stands JavaScript XML.Jsx allows us to write HTML in JavaScript.

4.PROPS
props stands for properties.In react props are used to send data one component to another.
Data flow are one directional it goes parent to child element.with the help of callback function data flow child to parent are also possible.

5.STATE
state is an dynamic object that store dynamic data in a component.State are determine the behavior of component.

--

--