@mnmtanishinBeyond the SemicolonDebugging duplicate click eventsWhile working on an Angular application, we recently ran into a bug where the click event handler for a button component was running twice…3 min read·Jun 28, 2017--1--1
@mnmtanishinBad CodeFabricJS performance hackWhile playing around with FabricJS, noticed that the renderAll method is called by fabric event handlers. After a profile made with Chrome…2 min read·May 18, 2017----
@mnmtanishinBad CodeGetting the class in static methodsI’ve been doing quite a bit of OOP with javascript lately (although I’m not a big fan of it). One of the problems I recently came across…1 min read·Jan 26, 2017----
@mnmtanishinBad CodeRunning async tasks sequentiallyHow to run a bunch of async tasks which return promises sequentially? If we’re running some task sequentially, it’s very likely that some…2 min read·Jan 10, 2017----
@mnmtanishinBad CodeRant: JavaScript import syntaxThe import syntax on javascript looks damn ugly when many items from a module. Take this example piece of code form a typical GraphQL code:1 min read·Sep 8, 2016--1--1
@mnmtanishinBad CodeTranspiled JS on Github?If you’re hosting transpiled code on Github for your code, take extra care when accepting pull requests.2 min read·Jul 14, 2016----
@mnmtanishinBad CodeUsing multiple GOPATHsThe GOPATH environment variable supports multiple directories separated by “:”. This is quite similar to the way we set multiple…1 min read·Jan 19, 2016----
@mnmtanishinKADIRA VOICEMasking GraphQL ErrorsGraphQL is an excellent protocol for creating APIs. Some developers go as far as calling it the successor for REST. The graphql-js module…3 min read·Jan 4, 2016--1--1
@mnmtanishinBad CodeDay 3: PackagesGo code is organised as packages. A package should provide constants, variables and functions to do a very specific set of tasks. It is…3 min read·Jul 30, 2015----
@mnmtanishinBad CodeDay 2: Built-in FeaturesGo language is a lightweight language compared to most others. The complete specification for the language can be written in a few pages…4 min read·Jul 30, 2015----