Simar Paul SinghinSimar's blogDeadlocks & Livelocks — Avoid them in real world ConcurrencyDeadlocks can occur only in Concurrent (multi-threaded) programs where threads synchronize (use locks) access to one or more shared…Apr 1, 2019Apr 1, 2019
Simar Paul SinghinSimar's blogReact Hooks | useEffect for Life-Cycle Events (Tricks and Tips)useEffect() can combine componentDidMount, componentDidUpdate, and componentWillUnmount but is trickyMar 23, 20197Mar 23, 20197
Simar Paul SinghinSimar's blogWhen NOT to use ES6+ Arrow Functions (Lambdas)Arrow functions or Lambdas, were introduced in ES 6. Apart from its elegance in minimal syntax, most notable functional difference is…Mar 19, 2019Mar 19, 2019
Simar Paul SinghinSimar's blogPerformance & Concurrency | Build Fuel TuneThreads : Throttling :: Memory : QueuesMar 11, 20191Mar 11, 20191
Simar Paul SinghinSimar's blogNgRx Router Store | Reduce & Select Route ParamsNgRx is an implementation of Flux Pattern for angular leveraging RxJs.Feb 3, 201912Feb 3, 201912
Simar Paul SinghinSimar's blogReact | debounce with Higher Order ComponentI was implementing a well known solution of debouncing onChange(input: string) from a material-ui’s SearchBar component, which gives me…Nov 21, 20183Nov 21, 20183
Simar Paul SinghinSimar's blogNgrx http$ Effects should listen for CANCEL actionIn a Ngrx implementation, a Store Effect loads an entity from from REST APIs when it receives a FETCH_ENTITY action and then dispatch a…Oct 26, 20185Oct 26, 20185
Simar Paul SinghinSimar's blogRxJS | Create Observables from event sources directlyWorking in angular, we use RxJs we subscribe to Observable(s) to listen/ process event streams Ex (ActvatedRoute.params , HttpClient) etc…Oct 26, 2018Oct 26, 2018
Simar Paul SinghinSimar's blogTesting Angular Container Components | Shallow and DeepTypical Angular application renders and interacts with set of Container (Smart / Stateful) components, containing one or more re-usable…Oct 20, 2018Oct 20, 2018
Simar Paul SinghinSimar's blogKotlin | Extension Functions, make any class have what you wish forKotlin allows us to extend a class with new functionality at compile-time without having to inherit from any parent class using a extension…Sep 29, 2018Sep 29, 2018