GraphQL is a query language by Facebook, which became very popular as a replacement for REST. In this tutorial, we will build a React application that pulls data from Github using GraphQL.
read more “Learn GraphQL by Building a Github Client – Tutorial”Create Custom Jest Matchers to Test Like a Pro
Jest is an industry-standard testing framework for JS projects. It was developed by Facebook to test their code and was made open-source. In this article, I will teach you to create custom Jest matchers to supercharge your testing skills.
read more “Create Custom Jest Matchers to Test Like a Pro”Improve your Redux skills by writing custom middleware
Redux is a state-management library, often used with React. In this article, I will teach you to write custom middleware to extend the capabilities of Redux and gain an in-depth understanding of how global state is managed.
read more “Improve your Redux skills by writing custom middleware”React.useMemo and when you should use it
As your application scales, performance issues become more and more evident. While React is very well optimized and fast out-of-box, it is important to know the instruments it provides to make your code even faster. One of such instruments is React.useMemo hook and its sidekick, React.useCallback.
ReasonML: a better alternative to TypeScript
I already talked about the 7 reasons not to use TypeScript earlier, but failed to provide an alternative. In this article I will introduce you to ReasonML, a better alternative to TypeScript.
read more “ReasonML: a better alternative to TypeScript”10 JavaScript interview questions for 2020
JavaScript is on its way to becoming the world’s most popular programming language. As the demand grows for JS developers, you have to be ready to run for it. Here are the top 10 JavaScript questions to nail your next interview for your dream job.
read more “10 JavaScript interview questions for 2020”7 really good reasons not to use TypeScript
Everyone loves TypeScript. It “solves” many problems JS has, it is a “superset” of JS, it will make your code error-prone and pleasant to read. There are a lot of good reasons to use TypeScript, but I am going to give you 7 really good reasons not to.
read more “7 really good reasons not to use TypeScript”To infinity and beyond with JavaScript Proxy API
The Proxy API, aiming to revolutionize the JavaScript development experience and make previously impossible feats possible, was introduced in 2015 with ES6. This is an advanced concept, but if you ever want to master JavaScript, the Proxy API is something you absolutely will have to learn.
read more “To infinity and beyond with JavaScript Proxy API”NodeOS: how much is too much?
The number and variety of npm packages were always a topic for irony and ridicule. If you are not getting what I am talking about, check out the is-odd npm package with 76 million downloads, is-positive/is-negative packages, literally a package to bless your code and many others. While this seems funny, this poses a serious problem, which may lead to negative consequences. But this time, the community pushed even further and introduced NodeOS, an “operating system powered by node.js and npm”. I am going to explain why this is not true and what it says about the JS community.
read more “NodeOS: how much is too much?”No, you do not need Windows to develop with JavaScript
The desktop operation systems market is split between 3 major players: the monopolistic behemoth Microsoft with its Windows, pricy Apple with macOS and a myriad of Linux distributions, both community-run and commercially supported. In this article, I will try to convince you to try Linux if you are an active Windows user by giving you very good reasons and busting some myths.
read more “No, you do not need Windows to develop with JavaScript”