ECMAScript 2023 - Exploring New Features
In this blog, we'll dive into the ECMAScript 2023 updates, highlighting four significant new features that promise to streamline our coding experience.React error handling with react-error-boundary
React error boundaries provide a way to gracefully handle runtime errors and prevent them from crashing the entire application.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.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().