By Tag (22)
typescript
- 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
20100 - 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
40100 - 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
00000 - 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
40100 - 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
20000 - 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
182421 - 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
11000 - 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
10000 - 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
00000 - 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
00000 - 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
00000 - 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
10100 - 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
70000 - 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
00000 - 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
10000 - 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
00000 - 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
60200 - 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
10100 - 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
00000 - 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
10002 - 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
41000 - 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
00000
Content Rank
- polubis 5 months ago
Consider using type imports in TypeScript
182421 - polubis 3 months ago
Everything about barrel exports in JavaScript
171210 - polubis 8 months ago
Mapped types in TypeScript
60200