React India 2019 was organized at Goa this time and it was a blast. Undoubtedly beach conferences are the best. What can go wrong when you have a private beach to hang out after all those fantastic talks?

Image for post
Image for post

So ask me what was the React conference about. Obviously React? Nah! It was more about GraphQL this time. Sure there were a few react talks too 😆. …


Why not to use “any” anywhere.

Image for post
Image for post

TypeScript is a superset of JavaScript which primarily provides optional static typing, classes, and interfaces. Many of us JS maniacs love typescript as its strongly typed. The State of Javascript survey states that more than 46% of users have Used it, would use again. Typescript is the 4th Most Loved, Dreaded, and Wanted Languages according to StackOverflow surveys 2018. Those are really good numbers for a language which is just a wrapper for javascript which provides statically typed superpowers.

While that being said, many of us still end up misusing typescript by very frequently using the “any” keyword everywhere. If you do not turn on noImplicitAny, then any variable declarations will implicitly be of type any and this can be really bad. If you plan to use type “any for any of your variables then, make sure it is well justified! Strongly typed languages usually do not offer such flexibility. How often do we come across a variable code declaration section such as this one, where we end up explicitly using any for…


According to Octoverse 2017, Microsoft’s Visual Studio Code tops the list of Projects with the most contributors. Which implies that there are a lot many developers who absofreakinlutely love VS Code.
Here I have a list of extensions which might not make you a better developer, but for sure would make you feel like one!

Image for post
Image for post

A nifty little command would get me the list of VS code extensions I already have installed

$ code --list-extensionsalefragnani.project-manager
aaron-bond.better-comments
eamodio.gitlens
eg2.vscode-npm-script
formulahendry.code-runner
jamespgilbert.comment-label
schristian-kohler.npm-intellisense
shardulm94.trailing-spaces
steoates.autoimport
streetsidesoftware.code-spell-checker
whtouche.vscode-js-console-utils
xabikos.JavaScriptSnippets

A wise man once said : GIFs and JPEGs speak louder than words

NPM Intellisense

Image for post
Image for post

Git Lens

Image for post
Image for post

NPM Scripts

Image for post
Image for post

Code Runner

Image for post
Image for post

Trailing white spaces

"editor.trimAutoWhitespace": …

About

Kunal Panchal

Yet another tech-savvy developer and an awesome person. Building open source utilities and crafting tech solutions for crazy problems. https://kunalpanchal.in

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