The yo-yo test derives its name from the toy we once played with as kids. Two disks separated by a wooden spindle upon which a twine was entangled. The impulse imparted by the twine would cause the disks to shuttle in a kids hand.

The yo-yo or the beep test is used to test a persons aerobic capacity and endurance. It is a direct representation of your cardiovascular fitness, and is a perfect simulation for games which require short bursts of pace followed by a short recovery time. A number of sports like football, cricket, rugby use this test as…


I recently got a chance to work with Node again. Being a huge fan of promises, I never tried async await. Why? Because promises worked fine for me, that’s why.

Sure thing promises work fine for simple controllers. Couple database querying and error handling, then promises can be nasty. Yes even if you chain them. What if some resolved value in your second promise chain was needed in your fourth promise? But again I’d usually hack my way through (define a let variable at the top of the function scope and reassign it and then use it further).

Use Case Definition

I am…


Immutable:

unchanging over time or unable to be changed.

The entire ideology of an immutable operation is what constitutes functional programming in javascript. The basic premise being, any object once modified should not be changed over the course of time. Instead a new object should be used. Developers using React / Redux would have surely come across this concept, by using pure functions to update state.

Objects in javascript are memory references, hence equating two objects results in equating their memory references.

Consider the code below.

const foo = {
firstName: 'John',
secondName: 'Doe'
}const bar = foo; bar.firstName…


Code splitting can offer some respite when it comes to loading massive client apps. We’re in an era where a user’s attention span is probably close to 10 seconds per page, and you’re definitely not going to get a conversion if 6 seconds are spent fetching and parsing your JavaScript.

Webpack 3 offers brilliant support for dynamic imports. This allows you to load only the useful chunks to the client. Higher order components coupled with dynamic imports can split your JavaScript bundle into multiple tiny chunks. Recently, the React team added a sleek page on code splitting in their documentation.


A/B Testing, has enabled designers and product managers to get a deep insight into user behavioral patterns.

On the one hand, it has allowed product managers more flexibility while conceptualizing user journeys. But on the other, it’s become a developer’s nightmare, being told to make two versions of the same component.

“The general concept behind A/B testing is to create an experiment with a control group and one or more experimental groups (called “cells” within Netflix) which receive alternative treatments. Each member belongs exclusively to one cell within a given experiment, with one of the cells always designated the “default…


Why would you want to write test cases for your applications, anyway? Well, it’s a question a number of developers try to dodge, purely because it takes effort and time, and because manual testing is so much more satisfying. Click… click… fill out a form…Click… Presto. My app works, my APIs are good, all is hunky dory.

Fast forward to almost 30 pull requests a day being merged into your master branch. Now how do you feel about testing 30 features manually or refactoring a block of code and unknowingly breaking someone else’s code?

At this point you’d normally say…

Nitish Phanse

Javascript developer. Fiddles around with Node and React. Wants to try scuba diving.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store