Another way to materialize the JSX component is by using class-based components other than functional components.
*Why we use class-based components over functional components?
The state is the data that the component maintains. It can change the val...
To avoid the repeated HTML code, we created a separate child component. Let's take an example of a to-do list.
Here on the Todo-item.js page we once wrote the code for the checkbox inside the function and export it to the parent.
Inside App.js we c...
Functional Components in React:
we use functional components in order to make the elements reusable. The elements to be rendered are written inside a function and pass the function as the argument inside the ReactDOM.render() method.
It is better to...
why we use REACT???
Because of its speed using Virtual DOM.
The components can be reused.
Let's start by making an index.html file that has a div with an id root inside which we render the elements.
Create the next file index.js and use the rend...
Make sure you follow these tips If you are considering becoming a developer and have no idea if you are on the right path to achieve that goal.
Find the language that you are interested in.
Get certifications in that particular language.
Get a Men...