React Basic Concept for developer
Style at JSX.
Style is a component attribute and the type of value is an object. We can access this attribute from functions with props. When we use special components made based on the function then it calls the function. And then the function access props and use this style.
What is JSX?
Component with function
We can easily create a reaction component with a function. The function name must be a capital letter for components. And it only returns a simple HTML code.
Why do we use components?
For major project development, we need to use the same features again and again. Then we can use components for fewer code. After creating a component, we can easily use the same features on different pages by declaring the component name.
What is webpack?
Components without react
DOM is a document object model. We can access HTML pages by DOM. Dom gives us the object model. This is a tree data structure.
For increasing architecture, we need to test our components. When we write code then we cannot ensure that this code will work with different inputs, so we need to test with different inputs. This is the main reason for the unit test.
What is Babel?