You don't know promises
Recently I receive book recommendation. There was one chapter in this book series about Promises that I cannot handle. Examples written there were not enough for me - I decided to play with Promises on...
View ArticleHow design of your API can affect others
Recently I was working with a library called redux-observable. After using it to write my new epic I opened my devtools to see following warning:I started researching what is happening here and I found...
View ArticleLessons learned from writing pet project in React with Redux
Today I wanted to write about lessons that I’ve learned during working on my pet project. Let’s get started!When I decided to learn React and Redux I wanted to learn them by doing some project. I...
View ArticleLessons learned from coding TM Conference website
Recently I was less active on my blog mainly because I had a lot of side projects that I was doing. Today I want to share with you lessons learned from doing one.Wroclaw LevelUp conference websiteI was...
View ArticleHow to dispatch multiple actions based on api call in redux-observable
ProblemIn my work a have a task - when one of the actions in redux-observable is completed I wanted to dispatch another set of actions. In other words, one action is triggering dispatching of another...
View ArticleHow to update progress of long request with redux-observable
ProblemI want to send a couple of requests an update a progress after each one is successful. In the end, I want to dispatch success action.Solutionconstepic=action$=>...
View ArticleswitchMap in redux-observable
IntroductionRecently in my new work, I was working more and more with RxJs. Especially in with redux bindings to RxJs called redux-observable. As I was reading epic code I noticed that in a lot of...
View ArticleDependency injection in redux-observable
Imagine that you have following situation: your calls to external api are using helper modules where all request logic lies. For instance, you have...
View ArticleHow to find blog ideas
Recently I was a little bit stuck. I did not have any idea about next blog post. I started researching why it happened and it turned out that I wasn’t considering a couple of ideas that may help me...
View ArticleSetting up simple React & TypeScript project
Hello 👋🏻It’s have been a long time since I last wrote my last blog post. But don’t worry I back and in the first blog post I give you a small template so if you are interested in working with React...
View ArticleOn React Render props vs HOC
Recently one of my colleague at work stumbled upon strange case when using one of the popular react pattern called hoc (high order component). It turns out that sometimes your hoc can override your...
View ArticleTypeScript classes, interfaces and all between
Hello 👋What is a better way of explaining classes & interfaces than showing them in action? One of the clever use of classes I saw is this connected to validating response from API.Most of the...
View ArticleI build a thing - writer mode for VSCode
WhySo I build the thing called writer mode - why? I really like using VSCode for both my coding and writing in markdown. There is zen mode but I wanted a little bit more than full screen and no...
View ArticleOpen sourcing tsconfig
Hi again 🖖Today I want to write about the thing that we did in my work. I currently work at Ingrid. All of your codebases is written in TypeScript which is using tsconfig as a way to tell the compiler...
View ArticleMultiple stow directories
Hi again 👋Today I want to write about the problem that I recently had that I solved after a few hours of searching google. It may help others so I write a post about it.ProblemFor managing my dotfiles...
View ArticleHiding elements with opacity
ProblemRecently I had a task that requires me to show an icon when a user hovers over a certain element and hide it after the user leaves the page.Display none to the rescueAt first, I tried to use...
View ArticleSide project - CSS on blog
NOTE: This is cross-post frommy newsletter. I publish each email after it’s sent.Subscribeto get more content like this earlier right in your inbox! 📧.Welcome back after a few weeks 👋🏻. It was a small...
View ArticleTypeScript function overloads
NOTE: This is cross-post frommy newsletter. I publish each email after it’s sent.Subscribeto get more content like this earlier right in your inbox! 📧.Hello👋🏻 Today I want to write a little bit about...
View ArticleMy first interviews for software developer
Hello👋🏻In a today blog post, I will write about my first interviews for software developer roles without having a CS degree.BackgroundI was studying land surveying at the Kraków University of...
View ArticleTypeScript abstract classes
Hello, Today I want to give you a blog post about abstract classes in TypeScript. What are they? Why you may need one? Or why you may not need it.I assume that you have grasp of TypeScript and object...
View Article