JavaScript React TypeScript

Building forms with React Hook Form and TypeScript

Handling forms manually is not difficult in React. Keeping all of the code consistent in your project might be quite a hassle, though. There are many ways in which we can tackle the state of our forms and validation. We can expect the approach of our teammates to differ slightly. To manage our forms better, […]

JavaScript React TypeScript

React Context API with hooks and TypeScript

With React, we have quite a few options when it comes to state management. One of the most obvious ones is using the local state. Unfortunately, it might lead to prop drilling. It happens when we pass data from one component through many layers. When some of the components along the way do not need the […]

Git

Getting geeky with Git #7. Cherry Pick with Reflog

This entry is part 7 of 11 in the Getting geeky with Git

So far, we’ve covered a few different tools useful when rewriting the Git history, such as merging and rebasing. In this article, we go more in-depth and try cherry-picking. While doing so, we also learn how the reflog functionality works. Git Cherry Pick When we rebase or merge, we usually get all of the content of […]

JavaScript NestJS TypeScript

API with NestJS #12. Introduction to Elasticsearch

This entry is part 12 of 121 in the API with NestJS

We can find some searching functionalities in a lot of web applications. While we might be fine when iterating through a small data set, the performance for more extensive databases can become an issue. Relational databases might prove to be relatively slow when searching through a lot of data. A solution to the above problem […]

AWS JavaScript

Introduction to AWS Lambda. Managing a contact form with Simple Email Service

The serverless approach to building applications is getting more and more popular. It might be appealing to write and deploy code without worrying about the infrastructure underneath. Serverless computing still involves servers. The provider takes care of their maintenance entirely, though. We write event-driven functions that contain business logic. The provider charges us solely based […]

Git

Getting geeky with Git #6. Interactive Rebase

This entry is part 6 of 11 in the Getting geeky with Git

In the previous part of this series, we’ve looked into how rebase can improve our merges. It is a lot more powerful, though, and can come in handy in other situations. In this article, we explore how to perform interactive rebasing. Introduction to the interactive rebase tool When doing an interactive rebase, we can modify existing […]

Git JavaScript

Generating changelog automatically with Standard Version

The creation of software usually takes place across multiple iterations, and our code changes often. Because of that, we need a way to describe this process with the use of versions. There are quite a few ways to do that. Recently the most widely adopted approach seems to be semantic versioning. It involves a sequence of […]