How Yarn resolutions can save you

Have you ever heard about yarn resolutions? It is not something you would use everyday, but it is definitely useful.

Continue reading...

React and setState method

JavaScript React

The first thing you read about setState - it is asynchronous. I understand it but still did not realize a couple of things.

Continue reading...

Please, do not install every shit

JavaScript

I am working on React app with couple of other developers. And you know it, you need this component, that functionality, etc. so you google it, install the package and the work is done. Is it ok to work like this? Do you even know what exactly you added to your project and do you really need it?

Continue reading...

Chaos Ajax - is your application ready to fail?

JavaScript

You are creating an application that shows data to the user - doesn't matter if he is searching for some specific thing or he is only listing everything you have. What happens if the server responds with empty array? Or with error? Will your application show only empty space or an error message?

Continue reading...

Introduction to Sequelize ORM

JavaScript Node.js Example project

This is about the basic usage of Sequelize ORM – how to create migrations, models, seeders and how to get the data from the database. Everything is explained on an example project, which you can find on GitHub.

Continue reading...