By Tag (22)

typescript

  1. Author avatar
    greenonsoftware 24 days ago

    Exhaustiveness checking and discriminant property: the complete guide

    We'll fully understand exhaustiveness checking and discriminant properties, commonly used in the TypeScript world, along with their use cases, pros, and cons

    react, typescript, patterns, techniques, clean-code, code-quality

    2
    0
    1
    0
    0
  2. Author avatar
    polubis about 2 months ago

    RxJS Observables Vs Promises In JavaScript: What You Need To Know

    We'll explore the differences between Observables and Promises, covering their use cases, historical context, and answering some basic questions

    rxjs, observables, reactivity, promises, javascript, typescript, comparison

    4
    0
    1
    0
    0
  3. Author avatar
    polubis about 2 months ago

    Understanding flat routing technique

    Flat routing is a technique that allows the creation of shorter URLs through which users can retrieve complex, combined data. Let’s explore this concept

    seo, routing, typescript, navigation, experiments, real-case

    0
    0
    0
    0
    0
  4. Author avatar
    polubis 2 months ago

    Crafting SOLID and type safe APIs in Node and TypeScript

    Guidelines for creating solid architecture, stable codebase, and reliable backend APIs for cloud or on-premise solutions

    solid, backend, patterns, architecture, google-cloud, aws, micro-services, typescript, node

    4
    0
    1
    0
    0
  5. Author avatar
    polubis 3 months ago

    Creating own state manager for React

    Let's try to implement our state manager. It will be similar to Zustand, with some changes. All done to understand the useSyncExternalStore hook

    react, zustand, state-management, practice, typescript, advanced, hooks

    2
    0
    0
    0
    0
  6. Author avatar
    polubis 5 months ago

    Consider using type imports in TypeScript

    The import "type" syntax is currently a standard in most project generators. It's good to know the benefits this syntax offers. Let's dive in

    typescript, javascript, performance, optimization, daily-development, firebase, maintenance, bundlers

    18
    2
    4
    2
    1
  7. Author avatar
    polubis 5 months ago

    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

    javascript, typescript, typesafety, type-inference, swift, tuples, data-structures, generics

    1
    1
    0
    0
    0
  8. Author avatar
    polubis 5 months ago

    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

    typescript, infer, typesafety, mapped-types, type-magic

    1
    0
    0
    0
    0
  9. Author avatar
    polubis 6 months ago

    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

    javascript, typescript, principles, patterns, code-quality, practices, clean-code

    0
    0
    0
    0
    0
  10. Author avatar
    polubis 6 months ago

    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

    design-patterns, mediator, typescript, javascript, practices, relationships, refactors

    0
    0
    0
    0
    0
  11. Author avatar
    polubis 6 months ago

    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

    zod, validation, type-safety, error-management, backend, typescript

    0
    0
    0
    0
    0
  12. Author avatar
    polubis 6 months ago

    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

    typescript, techniques, type-definitions, common-problems

    1
    0
    1
    0
    0
  13. Author avatar
    polubis 7 months ago

    All about JavaScript promises

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

    javascript, typescript, promises, language, syntax, theory, full-guide

    7
    0
    0
    0
    0
  14. Author avatar
    polubis 7 months ago

    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

    zod, react, typescript, javascript, typesafety, typeguards

    0
    0
    0
    0
    0
  15. Author avatar
    polubis 7 months ago

    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

    react, typescript, javascript, data-structures, promises, race-conditions

    1
    0
    0
    0
    0
  16. Author avatar
    polubis 8 months ago

    Naming generics in TypeScript

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

    typescript, conventions, naming, code-quality, eslint

    0
    0
    0
    0
    0
  17. Author avatar
    polubis 8 months ago

    Mapped types in TypeScript

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

    typescript, javascript, mapped-types, type-definitions, type-safety

    6
    0
    2
    0
    0
  18. Author avatar
    polubis 8 months ago

    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

    react, patterns, render-slot, typescript, tailwind

    1
    0
    1
    0
    0
  19. Author avatar
    polubis 9 months ago

    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

    typescript, nx, npm

    0
    0
    0
    0
    0
  20. Author avatar
    polubis 9 months ago

    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

    react, zustand, context, typescript, state-management

    1
    0
    0
    0
    2
  21. Author avatar
    polubis 9 months ago

    Uploading images with Firebase and React

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

    react, firebase, cloud, typescript, javascript, storage

    4
    1
    0
    0
    0
  22. Author avatar
    polubis 11 months ago

    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

    cypress, react, gherkin, e2e, testing, typescript

    0
    0
    0
    0
    0