Shruti Apte

Shruti is a ReactJS Developer.
authorImg Shruti Apte

Writing re-usable code with React Composition

React Composition helps make our code more efficient, and easier to maintain and update in the long run. Instead of relying on one big component to do everything, we break it down into smaller parts, so we can reuse them in other places, and build even more complex components.
authorImg Shruti Apte

Understanding the CSS parent selector :has()

If we want to target the parent element based on the content or the child elements we can use :has().