Use custom ESLint config in create-react-app using 3 simple steps (No external dependencies) » 17 Feb 2019
This post will solve the problem of adding custom ESLint rules while keeping the default ones provided by create-react-app.
Unit testing redux containers the better way using jest » 19 Oct 2018
Testing container components which use redux can be a real pain sometimes and the reason for that is the connect from redux. This blog will help you test container components just like you test any other react component.
Validating arguments in a better way: JS hacks 😉 » 14 Aug 2018
Since JS is not a strongly typed language, writing checks/if-else-conditions for each argument can/will get messier in the long run. And no smart developer would want to have multiple if-else blocks just to validate arguments. Presenting you the new cooler/better way using ES6 default parameters.
Jest: Test suite with superpowers 😎 » 19 May 2017
With the growing complexities of apps, unit testing is a mandate. Since we are writing code in JS, we can utilize most of the testing frameworks/libraries available out there for `react/web` apps without much changes. This blog will help you get started with jest, understanding snapshots, understanding enzyme for testing component with state.
Why/When do I need $scope.$apply() in AngularJS » 25 Sep 2016
When we start building complex/production applications in AngularJS we all have come across this scenario where we require to manually trigger the Angular Digest Cycle using $scope.$apply(). In this blog, I will be sharing my learnings.
Using iPhoneInstallOverlay plugin in your progressive web-app to show add to home screen banner in iPhone Safari » 31 Jul 2016
A complete guide to generate PDF via just the front-end » 14 Jul 2016
As a front end developer, we all come across a problem statement where the client wants to get the screenshot of front-end views in a single PDF. Though we can print PDF by triggering browser's default print button functionality(similar to Ctrl+P) but that approach has some limitations. Here is an alternate/better approach.
ES6 based angular directive for noUISlider » 06 Jan 2016
Minimalistic Angular directive for noUISlider.
Developing Cordova apps with iOS9 support » 14 Oct 2015
As we all know, iOS9 update is out there and Apple is using WKWebView as the first citizen instead of UIWebView. I will share the issues I faced in one of the apps and how I fixed it. There might be some other issues as well.