Page 2 from 4
Education Zone
- polubis 10 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
11100 - polubis 10 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 10 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
00100 - polubis 10 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 10 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 11 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
10200 - polubis 11 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 11 months ago
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
react, zod, typesafety, react-hook-form, trpc
00000 - polubis 12 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
00100 - polubis 12 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 12 months ago
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
javascript, spread-operator, ecmascript, standards, quality
00000 - polubis 12 months ago
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
react, markdown-to-jsx, css, html, components
00000 - polubis 12 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 12 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
90400 - polubis about 1 year ago
Complete 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
git, workflow, project-management
00000 - polubis about 1 year ago
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
react, node, javascript, backend, patterns, validation
00000 - polubis about 1 year 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 about 1 year ago
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"
git, version-control, daily-routine, workflow, time-improvements
00000 - polubis about 1 year 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
10100 - polubis about 1 year 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
Content Rank
- polubis 9 months ago
Consider using type imports in TypeScript
194621 - polubis 7 months ago
Everything about barrel exports in JavaScript
181420 - polubis 12 months ago
Mapped types in TypeScript
90400