10 fundamental concept for React
1. Conclusion : Conclusion is the basic insight on what happen under the hood in react. Its update the inernal trow Virtual DOM proces.
2. Component : Component is the veruy helpful thing in this react app. Component consists like as function . It has return value. Many components are created a full react app. Components are really helpful to change any time to its any part.
3. Virtual-DOM : DOM fuul from Document Object Model. According to W3 school DOM have 3 type.
Core DOM, XML DOM and HTML DOM.
4. Ternary operator : Ternary operator very much help to code more short. Its have two valuable point such as :
. Ternary operator outside return expression.
. If/Else block outside return expression.
5. State : Static data passed down the components tree. Its very much help to change data to over data.
6. JavaScript Vs JSX : JS is standard javascript, JSX is an HTML-like syntax. JSX makes it easier to write and add HTML in React.
7. Framework vs Library : React is just a library . Library is smaller than Framework. Its use very easy to any other Framework.
8. axios : Axios has url in request object. Axios is a stand-alone third party package that can be easily installed. Axios uses the data property. Axios has wide browser support. Axios performs automatic transforms of JSON data.
9. Fetch : Fetch has no url in request object. Fetch is built into most modern browsers; no installation is required as such. Fetch is a two-step process when handling JSON data- first, to make the actual request; second, to call the .json() method on the response.
10. Prop-Types : Prop-Types its very helpful in react app. React app will automatically check the propTypes.