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
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
Observer Pattern
Posted on:December 6, 2021 at 05:02 PMObserver Pattern with example
React custom hook for form state
Posted on:August 31, 2021 at 06:25 PMUsing custom react hook to maintain form's state
Hook custom hook for data fetching
Posted on:November 1, 2021 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