Best JavaScript Bloggers To Follow In 2019


It has been 164 issues of my weekly JavaScript newsletter already. And this little article is becoming some sort of a tradition. I did one like this in 2017 and in 2018, so this is the third one. Here I simply list the authors that I think are very good at writing about JavaScript. They are all strong personalities, achievers and what’s the most important JavaScript community influencers...

Converting A Stateful React Component To Function With Hooks


For a long time if we wanted to create a stateful component in React we needed to create a class and inherit it from React.Component. But dealing with classes can be a frustrating experience and contradicts the functional nature of React itself. I wrote a rant article on that before. With the release of React v16.7.0-alpha, React team proposed a way to create stateful components based on...

Setting up Webpack 4 and Babel 7 for React Step By Step


In this article, I’m going to quickly show how to start a new React app with Webpack 4 and Babel 7. This is going to be a no-bullshit step-by-step guide. Spoiler: it’s very easy. Create a new directory with mkdir test-react-app && cd test-react-app Init the package.json with command npm init -y (-y flag means don’t ask just create it) Install Webpack npm install webpack...

Vim for JavaScript and React in 2019


In this article, I’d like to share some of the Vim plugins that will transform your Vim into an IDE for JavaScript and React (step back, VS Code!). Note: I will only talk about JavaScript-specific plugins here. For must-have general-purpose plugins see my other article. Syntax highlighting Many of the old syntax plugins for JavaScript have troubles with some modern features like arrow...

React without “this”


For some weird reason, even though React is rather functional in its philosophy (compare higher-order components and higher-order functions), they decided to use classes for components with a state. I want to stress it — the heavy classes usage in React is a mere API choice. There is nothing about React or its core values that couldn’t be represented with pure functions. But classes add up...

Recent Posts