What is React Fragment and why do JSX elements must have one parent element?React Fragment It's a special kind of React component which allows you to position two elements side-by-side rather than just nested. return( <div> <div>Hello</div> <div>World</div> </div> ) The above code can be written using Fragment as...Sep 14, 2021 · 2 min readhadiazeez.hashnode.dev
Building reusable form components in React🚀You save a lot of development time by building reusable components. Let's see how you can build reusable form components such as input and button in react. It's super easy, So let's get started🚀 Input component Step 1: Create components folder insi...Aug 29, 2021 · 2 min readhadiazeez.hashnode.dev