In this article I'm explaining what are the most common strategies to keep your working Git branches up-to-date and to make it easy to debug the codebase. Ten wpis Git merge vs git rebase – why you should avoid using Git merge to update your branches? został opublikowany najpierw na Piotr Nalepa -...
In this blog post I'm sharing a technique to test properly location changes happening in React useEffect hook. I'm showing you how to approach it correctly and what to avoid when testing it with Testing Library. Ten wpis Testing location change in useEffect in React został opublikowany najpierw na...
In this article I'm sharing what happened in my professional career and what are the plans for this blog in 2022.
Ten wpis A look back into 2021 został opublikowany najpierw na Piotr Nalepa - Blog webmasterski | Tutoriale JavaScript, CSS i nie tylko.
Have you ever struggled with testing drag and drop features of you web app? In this article I'm going to share with you my AHA moments when developing E2E tests using Cypress. These are not only about drag'n'drop but they touch other areas of Cypress as well. Ten wpis My AHA moments when testing...
In this article I've described how we are building a culture of knowledge sharing in remote teams for the sake of product sucsess. I'm writing about documentation proccess and the value it brings. Ten wpis Creating connected remote teams został opublikowany najpierw na Piotr Nalepa - Blog...
Have you ever struggled with finding a correct color definition in your project based on a color taken from designs? I've explained how to do it automatically and introduced a library that will do it for you in an almost automated way. Ten wpis How to find a similar colour in your colour...
Have you ever wondered how to type functions in TypeScript and ReactJS properly? After reading this article you'll understand nuances of using TypeScript in ReactJS and you'll become a better developer. Ten wpis Typing functions with TypeScript. How to do it properly in ReactJS? został...
Are you tired of typing nested relative paths in your components code when importing other components or pieces of code? In this article you'll learn how to improve coding experience by setting up custom absolute paths in TypeScript and Webpack. Ten wpis How to configure custom absolute imports in...
When writing React apps or modern JavaScript in general, we often create files with a set of reusable functions or classes. People tend to use default exports in such cases and I'm going to explain, why it's not the best idea to use them. What is a default export? The origin of default exports...
We all know what React is today. For those who don't know it yet: it's a view rendering library that helps developers to build user interfaces rapidly. In this article, I'm going to cover a topic of conversion of React components to Web Components. This might be useful in terms of delivering...
In this text I'll explain you how to work with Promises and async functions in paralel.
Ten wpis Dealing with Promise.all() and a bunch of async functions został opublikowany najpierw na Piotr Nalepa - Blog webmasterski | Tutoriale JavaScript, CSS i nie tylko.
In this article I wrote down a list of crucial features of React UI library and answered some questions about React, that might appear during job interviews. It's better to know all these things and be ready for the next career step. Ten wpis What to answer when questions about React appear at job...
After reading this article you'll learn how to expose your Angular components as Web Components/Custom Elements that can be reused in other projects or while during the migration of an old codebase to a newer one. Ten wpis How to convert Angular component into reusable Web Component? został...