Advance React patterns
Destructing the props
Lets say we have a component Dhruv which we are passing inside the App function and displaying the Dhruv component in the UI. Suppose that we are passing 2 Dhruv Components to the UI and both have the same props .The common norm...
dhruv-web-dev.hashnode.dev3 min read