Ahsan Ali MansoorUsing Context API and useReducer for Global State Management in ReactIntroductionJul 30, 2023Jul 30, 2023
Ahsan Ali MansoorNew CSS Media Range QueriesI despise media inquiries. I know it sounds strange, but I despise their syntax. I’ve never been comfortable writing code like min-width…Apr 8, 2023Apr 8, 2023
Ahsan Ali MansoorCreating a Chrome extension with React and TypeScriptAs Chrome extensions get more complicated, developers come up with ways to make it possible for already-existing tools to grow and change…Apr 8, 20231Apr 8, 20231
Ahsan Ali MansoorApollo Client Cache Rehydration in Next.jsApollo Client is a popular GraphQL client that can cache the results of your queries, among many other features. If you have an entirely…Aug 28, 2022Aug 28, 2022
Ahsan Ali MansoorUltimate Guide for useImperativeHandle HookGiven that it functions very differently from the majority of the other hooks, useImperativeHandle is perhaps one of the more perplexing…Aug 28, 20221Aug 28, 20221
Ahsan Ali MansooruseId Hook ExplainedRecently, React 18 received its official non-beta version. The majority of the significant improvements include modifications to…Aug 28, 20221Aug 28, 20221
Ahsan Ali MansooruseDeferredValue Hook ExplainedReact 18 recently had its official non-beta release and with it came multiple new React hooks to help deal with concurrency and rendering…Jul 13, 20221Jul 13, 20221
Ahsan Ali MansooruseTransition Hook ExplainedReact 18 recently received its official non-beta release, which included a slew of new React hooks. The useTransition hook is the one I am…Jul 13, 20221Jul 13, 20221
Ahsan Ali MansoorWhy It’s Never A Good Idea To Store Derived StateWe’ve all done it. You’re working on a React app when your state goes out of sync. There are numerous explanations for this issue, but…Jul 13, 20221Jul 13, 20221
Ahsan Ali MansoorDefine React Routes With Better Approach (TypeScript)Since React Router has updated from version 5 to version 6, I’ll try to explain how we can write better routes.Jun 4, 20222Jun 4, 20222