Krzysztof Żuraw

Krzysztof Żuraw @kzuraw

About: TypeScript & React + V60

Location:
Wrocław
Joined:
Oct 20, 2017

Krzysztof Żuraw
articles - 60 total

Branded Types in TypeScript: techniques

In this post, I’ll walk you through several ways to implement branded types in TypeScript. If you’re...

Learn More 6 1Jun 11

Recommended read

Error modelling Lukasz Ostrowski...

Learn More 0 0May 29

Dynamic Configuration for MCP Servers Using Environment Variables

This blog post explains how to configure Model Context Protocol (MCP) server that can be dynamically...

Learn More 6 1May 29

Custom metrics using @vercel/otel

This guide explains how to properly implement custom metrics in Next.js applications using...

Learn More 0 0Apr 6

DynamoDB access modeling for multi-tenant services

Recently at Saleor we encountered the challenge of implementing multi-tenancy in Saleor apps. In this...

Learn More 3 0Feb 14

How to link a local npm dependency with pnpm

I have learned how to correctly link a local npm dependency when using pnpm. Here is the...

Learn More 0 0Aug 13 '23

How you properly test your React hook methods

If you are using React Hooks testing library to test your hooks remember to wrap hooks methods in the...

Learn More 0 0Aug 6 '23

Composition vs props in React

I recently was adding support for dynamic data (meaning loaded from API) to the design system...

Learn More 0 0Jul 10 '23

Polymorphic components in React

While I was working on the design system I knew I wanted to use polymorphic components as the...

Learn More 0 0May 21 '23

Sharing configs between Storybook and Vite

I have a project that is using Vite.js as a bundler with Storybook to have visual testing of...

Learn More 0 0May 8 '23

Auto update readme on GitHub with Deno

GitHub has this nice feature where you can have a readme file in the repository named after your...

Learn More 0 0Apr 24 '23

Site search in Raycast

I recently read a Jim blog post about site search in browsers. I like the idea but I mostly...

Learn More 0 0Apr 19 '23

Polymorphic react component with vanilla-extract

I started using vanilla-extract library as foundation to design system at work. All is going well,...

Learn More 0 0Jan 23 '23

Eslint rule to restrict imports

I recently learned that there is a way to restrict imports of certain libraries in Eslint. This is...

Learn More 2 0Dec 18 '22

Executing scripts when docker starts

I recently needed to execute a shell script when Docker is starting. Why? I wanted dynamically take...

Learn More 1 0Dec 12 '22

How to type Next.js env variables in TypeScript

I recently was setting up new Next.js project with environmental variables. Next supports them out of...

Learn More 35 7Sep 8 '22

Custom font on GitHub

To set your favourite font to be on GitHub you need: Refined GitHub extension Go to options of...

Learn More 3 1Aug 7 '22

Migrating Next.js plugins from next-compose-plugins

I recently updated Next.js to version 12.2.3 and I found out that next-compose-plugins do not work...

Learn More 6 5Jul 31 '22

HTML table sticky header with borders

I recently had to create an HTML table with a sticky header. It turns out you need this piece of CSS...

Learn More 8 0Jul 14 '22

Compiling Tailwind CSS components in monorepo

If you have monorepo with Tailwind CSS components in one package and application in the other you may...

Learn More 16 4Jul 5 '22

Run script on files changes using nodemon

I recently was setting up workflow for developing email templates and I need a way to copy files from...

Learn More 5 0Jun 11 '22

Migrating blog to Eleventy

I recently migrated my blog to Eleventy. My previous engine for generating static site was Gatsby.js....

Learn More 3 0Jul 19 '21

New version of writer mode

I recently updated my VS Code extension writer-mode to version 0.3.0. Before I start with what was...

Learn More 0 0Jun 7 '21

On generating social images for my blog

I recently decided to generate social images for my blog. You know those images that are being...

Learn More 1 0Apr 1 '21

Alfred Snippet workflow

I recently decided to remove a few no so frequently used applications. One of them was Typinator. It...

Learn More 2 0Mar 18 '21

HTML has a base tag

Today I learned about <base /> tag. It is really useful in a situation where you need to tell...

Learn More 3 0Mar 12 '21

Distractions tips & tricks

In this blog post I want to write more about different techniques I tried to lower my distractions...

Learn More 0 0Jan 22 '21

TIL - Chrome has emulate focused page

Today I learned that chrome has Emulate Focused Page settings. What such toggle is doing? It...

Learn More 0 0Dec 12 '20

Stack & Column in CSS-in-JS

Today I want to write more about new emotion components that we try at Ingrid. Those components help...

Learn More 6 0Nov 6 '20

Intl Collator in JavaScript

Recently I needed to sort an array of objects from A to Z. Usually for such task I’m using the...

Learn More 0 0Oct 21 '20