We will learn about state in this part, but let’s first understand the difference between state and props.
Are you looking for some new react js to expand your skills or to explore the possibilities of react js, have a look at these projects : Project 1: Next.js React GraphQL Express Apollo Boilerplate If you are a react js developer who uses GraphQL, Next.js, Express, and Apollo regularly ( well I do ) then, give this boilerplate a go.
The Tab component is simple, a basic component which may be needed in any app. Anyway, it may be a bit confusing for beginners and it’s absolutely normal. We will use the React children concept and the React useState hook instead of CSS manipulation for hidden tabs. Please, be sure that you understand it well. How to Create Basic Tabs component React and Typescript. Let’s create it together step by step!