State Management In Pure ReactPosted on:September 7, 2021 at 01:32 PM
State management in react without using any external library
Conditional checking of propsPosted on:August 8, 2021 at 10:36 AM
Eliminating invalid props combination by using typescript
Printing Page on Chrome Desktop and AndroidPosted on:March 20, 2023 at 12:58 PM
Use window.print API to print a document on Chrome Desktop and Android, and the differences in the sequence of printing events.
Adapter Design PatternPosted on:September 23, 2022 at 03:22 PM
The adapter pattern is a design pattern used to bridge two incompatible interfaces, allowing an existing class interface to be used as another. This article provides an example of using the adapter pattern.
Find neighbours in 2D gridPosted on:June 6, 2022 at 04:06 AM
Finding all the four neighbours and extending it to eight neighbours
Representing 2D array as 1D arrayPosted on:January 6, 2022 at 04:06 AM
Representing 2D array as 1D array