STOP using UseEffect for data fetchingUseEffect hook is a good choice for fetching data in small apps. However, for larger, more complex applications, it has several limitations. 饾棢饾椂饾椇饾椂饾榿饾棶饾榿饾椂饾椉饾椈饾榾 饾椉饾棾 饾槀饾榾饾棽饾棙饾棾饾棾饾棽饾棸饾榿 饾棾饾椉饾椏 饾棻饾棶饾榿饾棶 饾棾饾棽饾榿饾棸饾椀饾椂饾椈饾棿: 饾棥饾椉 饾棸饾棶饾棸饾椀饾椂饾椈饾棿: Fetche...Jul 7, 2024 路 1 min readblog.hmellahi.me
UseEffect Rules, Best Practices, and MisusesUseEffect hook is a useful tool but it should be your Last Resort, consider other alternatives first. We will talk about useEffect Rules, best practices, and when it's overused. Dependency Array Rules INCLUDE : Every state variable, prop, and contex...Mar 11, 2024 路 3 min readblog.hmellahi.me
My Journey of Building Our First SaaS ProductIntroduction In this article, I will talk about my experience in building our first SaaS product, FileQA, the obstacles we have gone through, and what I learned from this experience. What is SaaS? SaaS stands for 'Software as a Service', which means ...Feb 16, 2024 路 5 min readblog.hmellahi.me
Make your App faster using Optimistic UpdatesIntroduction In this article, we will discuss what is an optimistic update and how to implement it in your React app to make it feel faster and more responsive, using React Query. What's an optimistic update? When doing operations that involve waitin...Feb 6, 2024 路 4 min readblog.hmellahi.me