RGRahul Garudincareerpath.hashnode.dev0011) Typescript Reducer and ContextMay 18 · 3 min read · Reducer Typing in TypeScriptA reducer is a function that updates state based on actions.In TypeScript, we explicitly type: State, Action, Reducer functionDefine State Type type CounterState = { counJoin discussion
RGRahul Garudincareerpath.hashnode.dev004) Typescript Interfaces and TypesMay 15 · 3 min read · Interfaces in TypeScriptAn interface defines the structure of an object. It is commonly used in,i) React Propsii) API response modelsiii) Class contractsiv) Reusable object structures interface User {Join discussion
RGRahul Garudincareerpath.hashnode.dev003) Typescript FunctionsMay 15 · 2 min read · Function Typing in TypeScripti) Basic Function Typing function add(a: number, b: number): number { return a + b; } console.log(add(10, 20)); ii) Arrow Function Typing const multiply = (a: number, Join discussion
RGRahul Garudincareerpath.hashnode.dev0042) SSR, CSR in ReactMay 12 · 3 min read · Client-Side Rendering (CSR)In CSR: The browser downloads JavaScript first, and JavaScript generates the HTML UI in the browser. The server mainly sends: Minimal HTML CSS JavaScript bundle. Browser ReqJoin discussion
RGRahul Garudincareerpath.hashnode.dev0015) Environment Variables & ConfigMay 5 · 2 min read · Configuration in Node.js is one of those areas that looks simple at first (“just use environment variables”), but becomes critical as your app scales, moves across environments, and handles secrets seJoin discussion