SKSaad Khaleeqinsaadkhaleeq.com·May 3, 2025 · 2 min readWhy I'd use zustand instead of redux for most usecasesIf you’ve ever dealt with Redux in a React project, you know the pain boilerplate, action types, reducers, thunk/saga setup just to manage a bit of state. Let me talk about Zustand, a minimal, flexible, and way more enjoyable state management library...00
SKSaad Khaleeqinsaadkhaleeq.com·Apr 23, 2025 · 2 min readWhy I Think Learning Things Slowly Is ImportantI used to think learning fast was the goal. Speed felt impressive — finishing tutorials quickly, jumping between topics, and constantly moving on to “the next big thing.” But over time, I realized something that completely changed how I approach lear...00
SKSaad Khaleeqinsaadkhaleeq.com·Apr 22, 2025 · 3 min readWhy is you react app slowSo you're building a React app. Everything works. It looks great. But for some reason… it's slow. The UI feels laggy, interactions aren't snappy, and maybe the page takes a few seconds longer than expected to load. If you're here, wondering “What’s s...00
SKSaad Khaleeqinsaadkhaleeq.com·Apr 19, 2025 · 2 min readCORS ain't that complex, Understand it in 1 minAlright, so you’re building a cool web app. Your frontend is running on http://localhost:3000 and your backend is running on http://localhost:8000. Seems fine, right? Both are on your machine. You try to fetch some data from your backend using fetch(...00
SKSaad Khaleeqinsaadkhaleeq.com·Apr 3, 2025 · 3 min readWebSockets vs Server-Sent Events (SSE): Choosing the Right TechnologyWhen it comes to real-time communication on the web, two major technologies often come up: WebSockets and Server-Sent Events (SSE). Both allow servers to push data to clients without the client continuously polling for updates, but they serve differe...00