• javascript
    typescript
    typesafety
    type-inference
    swift
    tuples
    data-structures
    generics
    Ugly relationship between tuples in TypeScript and JavaScript

    Let's check what a tuple really is and how it's possible that it works according to the definition in TypeScript, but not in JavaScript

    praca_praca avatar
    Created in 8 days agoEdited in 7 days ago
  • typescript
    infer
    typesafety
    mapped-types
    type-magic
    Inferring iterables with TypeScript

    We'll learn how the infer mechanism works in TypeScript and understand how to infer function arguments and specific array or tuple types

    praca_praca avatar
    Created in 9 days agoEdited in 4 minutes ago
  • javascript
    typescript
    principles
    patterns
    code-quality
    practices
    clean-code
    Command Query Separation principle

    Command Query Separation is a handy principle that separates logic into commands, which modify, and queries, which read. We'll explain its impact on the codebase

    praca_praca avatar
    Created in 24 days agoEdited in 23 days ago
  • design-patterns
    mediator
    typescript
    javascript
    practices
    relationships
    refactors
    Mediator pattern in TypeScript

    The Mediator is a behavioral design pattern that reduces coupling and dependencies between application modules or classes. Let's understand and implement it

    praca_praca avatar
    Created in about 1 month agoEdited in 29 days ago
  • zod
    validation
    type-safety
    error-management
    backend
    typescript
    Writing a parsing utility for Zod

    We'll parse schemas with the "Zod" library, investigate how we can reduce the amount of boilerplate, and make our parsing logic consistent

    praca_praca avatar
    Created in about 1 month agoEdited in about 1 month ago
  • typescript
    techniques
    type-definitions
    common-problems
    Dealing with property is not matching index signature

    Let's solve common error: "Property is not matching index signature". We'll learn how to create type definitions for complex objects

    praca_praca avatar
    Created in about 1 month agoEdited in about 1 month ago
  • javascript
    typescript
    promises
    language
    syntax
    theory
    full-guide
    All about JavaScript promises

    We'll explore JavaScript Promises, covering their theory, APIs, useful methods, and tricks to master them efficiently

    praca_praca avatar
    Created in 2 months agoEdited in about 1 month ago
  • react
    zod
    typesafety
    react-hook-form
    trpc
    Why you should start using Zod

    Let's explore what Zod can do and how it simplifies your daily work routine. We'll cover validation, type safety, and the general benefits of using this tool

    praca_praca avatar
    Created in 2 months agoEdited in 2 months ago
  • zod
    react
    typescript
    javascript
    typesafety
    typeguards
    Using Zod and TypeScript to write type safe code

    We'll implement 100% type safety for some code written in TypeScript. We'll do it without Zod, and later we'll build it up with Zod to see the difference

    praca_praca avatar
    Created in 2 months agoEdited in 2 months ago
  • react
    typescript
    javascript
    data-structures
    promises
    race-conditions
    Implementing Queue in JavaScript

    We'll build a dynamic queue mechanism to perform async operations in the correct order, following the First in, First Out (FIFO) principle

    praca_praca avatar
    Created in 2 months agoEdited in 2 months ago
  • javascript
    spread-operator
    ecmascript
    standards
    quality
    Be Careful with the Spread Operator in JavaScript

    Let's check how the spread operator in JavaScript should be used. We'll examine performance, security impact, following best programming practices

    praca_praca avatar
    Created in 2 months agoEdited in 2 months ago
  • react
    markdown-to-jsx
    css
    html
    components
    Nested lists with CSS and MarkdownToJSX

    We'll create a nested list with plain CSS and HTML. At the end, you'll have a nice nested list renderer component that uses inside markdown-to-jsx library

    praca_praca avatar
    Created in 3 months agoEdited in 3 months ago
  • typescript
    conventions
    naming
    code-quality
    eslint
    Naming generics in TypeScript

    Discover effective strategies for naming generics in TypeScript, aimed at improving code readability and maintenance for developers

    praca_praca avatar
    Created in 3 months agoEdited in 28 days ago
  • typescript
    javascript
    mapped-types
    type-definitions
    type-safety
    Mapped types in TypeScript

    Discover how mapped types in TypeScript can revolutionize your coding by allowing flexible transformations and validations of type properties

    praca_praca avatar
    Created in 3 months agoEdited in 3 months ago
  • git
    workflow
    project-management
    GitFlow tutorial

    GitFlow is a popular branching model that fits into big projects. Let's dive into important aspects of GitFlow and check the pros/cons with some alternatives

    praca_praca avatar
    Created in 3 months agoEdited in 3 months ago
  • react
    node
    javascript
    backend
    patterns
    validation
    Prevent unwanted overrides by using modification dates

    Let's eliminate the risk of conflicting entity changes by validating the modification date. We'll implement this on the backend and handle any errors on the frontend

    praca_praca avatar
    Created in 3 months agoEdited in 3 months ago
  • react
    patterns
    render-slot
    typescript
    tailwind
    Creating reusable and framework agnostic link component

    We'll create a generic Link component. It will work for React-related frameworks. It will enable the same appearance for external and internal navigation

    praca_praca avatar
    Created in 4 months agoEdited in 4 months ago
  • git
    version-control
    daily-routine
    workflow
    time-improvements
    Crafting Git aliases to enhance daily workflow

    To create a git alias you need to use the "git config" command or change the ".gitconfig" file manually. For each OS, there is a different path for ".gitconfig"

    praca_praca avatar
    Created in 4 months agoEdited in 3 months ago
  • typescript
    nx
    npm
    Publishing Nx generated TypeScript libraries on Npm

    Let's dive through the process of generating the TypeScript library with the Nx tool, and at the end, this library will be published on Npm

    praca_praca avatar
    Created in 4 months agoEdited in 3 months ago
  • react
    zustand
    context
    typescript
    state-management
    Using Zustand with React Context

    To create a truly modular store in a React application, utilizing a Context is essential. For simplified store management, Zustand comes into play. Let's delve into how this combination works

    praca_praca avatar
    Created in 4 months agoEdited in 4 months ago
  • react
    firebase
    cloud
    typescript
    javascript
    storage
    Uploading images with Firebase and React

    We'll check how to validate images and upload them with React, Firebase, and Cloud Functions

    praca_praca avatar
    Created in 4 months agoEdited in 3 months ago
  • How to maintain environment variables

    We'll leverage the Zod library to validate environment variables, ensuring type-safety across our codebase

    praca_praca avatar
    Created in 4 months agoEdited in 4 months ago
  • netlify
    web
    redirections
    Managing legacy URLs on Netlify

    Let's explore how to seamlessly transition users from legacy URLs to completely new ones using Netlify, all while retaining your traffic potential

    praca_praca avatar
    Created in 5 months agoEdited in 4 months ago
  • Modal in React and Tailwind

    Let's dive into creating a robust modal component with React, incorporating some design patterns, and styling it with Tailwind CSS

    praca_praca avatar
    Created in 5 months agoEdited in 5 months ago
  • Folder and file naming conventions go wild

    We embark on a journey through the diverse realm of conventions governing folder and file names, pondering the profound impact of their abundance

    praca_praca avatar
    Created in 5 months agoEdited in 5 months ago
  • firebase
    cli
    cheatsheet
    commands
    Firebase CLI cheatsheet

    Explore this collection of invaluable Firebase commands and techniques designed to enhance your development workflow and supercharge productivity

    praca_praca avatar
    Created in 5 months agoEdited in 3 months ago
  • The use case for Facade pattern

    We'll explore a real-world use case for the facade pattern based on the API calls we make daily

    praca_praca avatar
    Created in 6 months agoEdited in 6 months ago
  • What does it mean to be a Senior in something

    Strongly opinionated article about the role and factors that determine the Senior Developer role

    praca_praca avatar
    Created in 6 months agoEdited in 6 months ago
  • Tailwind is real game changer

    Tailwind has become a true game-changer, accelerating development workflows and fostering a more efficient and enjoyable coding experience. I'll share my point of view why I love this technology

    praca_praca avatar
    Created in 6 months agoEdited in 6 months ago
  • Be careful with Micro Frontends

    As teams grapple with the balance between autonomy and standardization, the uncertainties surrounding maintenance and scalability in the long run add a layer of caution to the adoption of micro-frontends

    praca_praca avatar
    Created in 6 months agoEdited in 6 months ago
  • Styled components to Tailwind migration guide

    Embark on a seamless transition from styled-components to Tailwind CSS with our comprehensive guide. Discover step-by-step instructions and best practices to streamline your migration process, ensuring a swift and efficient move

    praca_praca avatar
    Created in 6 months agoEdited in 6 months ago
  • How to pass component as prop in React and TypeScript

    We'll explore the React technique that enables passing a component as a property to other components. The benefits, potential bottlenecks, and use cases will be thoroughly discussed.

    praca_praca avatar
    Created in 6 months agoEdited in 6 months ago
  • Be careful when using design patterns

    The article emphasizes the importance of caution when employing design patterns in software development. It likely discusses potential pitfalls and challenges associated with the indiscriminate use of design patterns

    praca_praca avatar
    Created in 6 months agoEdited in 6 months ago
  • Proxy Pattern in TypeScript

    The article delves into the Proxy pattern in software design, highlighting its significance in scenarios where customization or control over object behavior is required

    praca_praca avatar
    Created in 6 months agoEdited in 6 months ago
  • Coupling Explained in TypeScript

    Explore the essence of coupling in TypeScript and its impact on code maintainability through real-world examples. Uncover the significance of low coupling and the integration of interface contracts

    praca_praca avatar
    Created in 6 months agoEdited in 6 months ago
  • All about high cohesion

    Explore the pivotal role of high cohesion in crafting resilient and adaptable systems, uncover its fundamental principles, and learn practical implementation strategies

    praca_praca avatar
    Created in 6 months agoEdited in 6 months ago
  • Facade pattern in TypeScript

    Learn how to implement a facade structural design pattern to streamline your TypeScript projects and create more robust, adaptable software architectures

    praca_praca avatar
    Created in 6 months agoEdited in 6 months ago
  • Observer pattern in TypeScript

    Explore the power and flexibility of the Observer pattern in TypeScript. Learn how to decouple your application logic, create an event-driven structure, and effortlessly respond to changes in your data

    praca_praca avatar
    Created in 6 months agoEdited in 6 months ago
  • Creating transaction utility type in TypeScript

    The article outlines the creation of a transaction utility type in TypeScript. It introduces generic parameters for data and error objects, using a union of types to represent different transaction states

    praca_praca avatar
    Created in 6 months agoEdited in 6 months ago
  • Singleton pattern in TypeScript

    Dive into the world of design patterns with our comprehensive article on the Singleton pattern in TypeScript

    praca_praca avatar
    Created in 6 months agoEdited in 6 months ago
  • Chain of Responsibility Pattern in TypeScript

    Dive into Chain of Responsibility Pattern. A comprehensive guide to streamline code flow and enhance maintainability

    praca_praca avatar
    Created in 6 months agoEdited in 6 months ago
  • Rapid API Mocking for Development

    Discover a concise guide on simplifying mocking using a custom "mock" utility function. Learn efficient testing and code development techniques with this resource

    praca_praca avatar
    Created in 6 months agoEdited in 5 months ago
  • How to Stabilize useId Testing with Global Mocking

    Stabilize "useId" hook testing with global mocking. Explore effective strategies to enhance stability in your tests and streamline the usage of "useId"

    praca_praca avatar
    Created in 6 months agoEdited in 6 months ago
  • Improve code reviews in 10 steps

    Enhance code reviews with 10 actionable steps for more effective collaboration and streamlined development. Elevate your team's coding standards

    praca_praca avatar
    Created in 6 months agoEdited in 6 months ago
  • cypress
    react
    gherkin
    e2e
    testing
    typescript
    Why I crafted my own Gherkin interpreter for e2e tests

    Discover the rationale behind crafting a custom Gherkin interpreter for e2e tests. Gain insights into the benefits and considerations that led to this strategic decision

    praca_praca avatar
    Created in 7 months agoEdited in 4 months ago
  • JavaScript symbols guide

    Comprehensive Exploration of the Symbol Data Structure in JavaScript, Unveiling Its Versatile Capabilities

    praca_praca avatar
    Created in 7 months agoEdited in 6 months ago
  • JavaScript object methods cheatsheet

    Master JavaScript object methods with our cheatsheet. A quick reference guide for efficient coding. Boost your productivity and code like a pro

    praca_praca avatar
    Created in 7 months agoEdited in 6 months ago
  • JavaScript array methods cheatsheet

    Unlock the potential of JavaScript arrays with our cheatsheet. Quick-reference guide to master essential array methods and elevate your coding efficiency

    praca_praca avatar
    Created in 7 months agoEdited in 6 months ago
  • Understanding Repository Pattern in NodeJS and TypeScript

    Unlock the power of the Repository Pattern in Node.js and TypeScript. Gain a deep understanding for efficient data management. Optimize your backend development

    praca_praca avatar
    Created in 7 months agoEdited in 6 months ago