Component Lifecycle
A component goes through various states before being and rendered. These different states through which a component passes in its…
A component goes through various states before being and rendered. These different states through which a component passes in its…
What is Routing A web application is composed of multiple pages where one page is linked to another page. That…
Till now we have learned two ways of creating a component: 1. Using a javascript function that returns some JSX…
It might happen that you want to display elements only when certain condition is met or show/hide some elements when…
What is a component state? A component state allows us to manage some data related to that component. Whenever the…
In the last sections, we learnt about JSX, what react components are and how can we create them. Now when…
A component is an independent piece of the user interface(UI). Everything on the screen of a react application is a…
What is an element? An element is a smallest unit on a web page. Whatever you see on a web…
JSX stands for JavaScript XML. It enables using HTML and XML like tags inside javascript. These tags can have text,…