Category: React

React

React key Is More Powerful Than Most Developers Think

Most developers think React key prop exists only for .map() lists. But React uses key for something much more powerful — component identity. When userId changes, React doesn’t just update props. It completely unmounts the old component and creates a new one. That means:• local state resets• effects rerun• forms clear correctly• stale data disappears• […]

React

Lazy loading with SSR in React

How would you implement a mechanism for dynamically loading components (lazy loading) in a React application considering server-side rendering (SSR)? And how would you handle situations where the component fails to load in time, for example, due to a slow connection or a server error? To implement dynamic component loading in React with server-side rendering […]

React

How To Connect MUI DATAGRID With Date Range filter

Probably, each react developer encountered with non effective documentation for different libraries. And spent a lot of time to achievement desired result. In this article, I will guide you through the process of adding a custom DateRange component into the MUI DataGrid, allowing users to filter by date ranges. We’ll be using the DateRange component […]

Back To Top