Tag:typescript
All the articles with the tag "typescript".
Angular component without tag selector
Posted on:August 7, 2021 at 06:25 PMInstantiate angular components with out creating tag in html
Handling Asynchronous Operations in MobX
Posted on:March 9, 2025 at 06:22 PMA comprehensive guide to handling asynchronous operations in MobX, including patterns, best practices, and type-safe implementations
Printing Page on Chrome Desktop and Android
Posted on:March 20, 2023 at 12:58 PMUse window.print API to print a document on Chrome Desktop and Android, and the differences in the sequence of printing events.
Conditional checking of props
Posted on:August 8, 2021 at 10:36 AMEliminating invalid props combination by using typescript
Find neighbours in 2D grid
Posted on:June 6, 2022 at 04:06 AMFinding all the four neighbours and extending it to eight neighbours
Middleware with Async Thunk
Posted on:August 28, 2021 at 02:25 PMHandling async operation inside react's useReducer
next lint vs next build
Posted on:May 20, 2025 at 05:02 AMDifference in behavior between next lint and next build when using TypeScript.
Observer Pattern
Posted on:December 6, 2021 at 05:02 PMObserver Pattern with example
Opaque String Type in TypeScript
Posted on:May 2, 2025 at 05:02 AMAn opaque string type in TypeScript is a way to create nominally typed strings...
React custom hook for form state
Posted on:August 31, 2021 at 06:25 PMUsing custom react hook to maintain form's state
Custom hook for data fetching
Posted on:November 1, 2022 at 02:25 PMUsing custom hook for data fetching
Representing 2D array as 1D array
Posted on:January 6, 2022 at 04:06 AMRepresenting 2D array as 1D array