In the realm of React development, prop drilling often poses a challenge, particularly in applications with deep component hierarchies, such as e-commerce shopping carts. Developers face the task of choosing the right solution to address prop drilling while ensuring code maintenance, performance, and scalability. In this case study, we shall explore how prop drilling was … Continue reading Understanding Prop Drilling in React: A Case Study of an E-commerce Shopping Cart
Category: React Development
Server side sorting and pagination using react-query and react-bootstrap-table-next (best practice)
In this blog, I will cover server side sorting and pagination using react-query and react-bootstrap-table-next. Generally, I prefer to use useQuery to get the data from the server, React Query manages query caching based on query keys. Query keys can be as simple as a string, or as complex as an array of many strings and nested objects. … Continue reading Server side sorting and pagination using react-query and react-bootstrap-table-next (best practice)
Is It Time Yet to Embrace Recoil instead of Redux in React?
Before we walk down to theory, We have Repo out with a demo to show the difference between Recoil & Redux. Also, try running the application to see how new features from Recoil makes a difference. PerformanceRecoil subscriptions are on atom/selector updaters, while Redux is on all actions. So if you have N connected component and dispatch … Continue reading Is It Time Yet to Embrace Recoil instead of Redux in React?
