Codebrahma

Work

Posts written by kalidas

Why Components -> State -> setState() in React

Tutorial

A webpage as a collection of React Components and a Component as an implementation of Functionality and UI with State as a medium

#javascript#react
Read Post

Processing Sequential JavaScript Promises using Functional Composition

Tutorial

How to execute Promise Series using Composable Promises rather than Promise Chaining or Async/Await — When functions can be composed, Promises can be composed too! — Leveraging reduce() and Closure

#javascript-promise#functional-composition#javascript-closure#callback-hell#asynchronous-javascript
Read Post

How to efficiently operate on large datasets using Transducers in JavaScript

Tutorial

Functional Chaining on Array creates intermediate collections. How to avoid this inefficient scenario by iterating array elements only once!

#javascript#functional-programming#function-composition#transducers#optimization
Read Post

Intercepting the case battle between snakes and camels in front-end JavaScript

Tutorial

How to efficiently operate on request and response objects with almost zero changes to the container components!

#javascript#functional-programming#react#http-client
Read Post

Retaining React UI state without localStorage or redux-persist

Tutorial

How History API and Search Params can be combined to persist React UI state across browser reloads

#react#history-api#localstorage#redux-persist
Read Post

Efficient Handling of React Alerts with Higher-Order Component (HOC)

Tutorial

How to efficiently handle Alert Messages in React by taking leverage on Functional Composition and HOC

#javascript#functional-programming#function-composition#react#higher-order-components
Read Post

How to get complete leverage from JavaScript reduce()

Tutorial

Solving Complex Problems with composition of small and reusable functions in JavaScript

#javascript#functional-programming#function-composition
Read Post