DEV Community

# generics

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
How to deep merge in Typescript

How to deep merge in Typescript

86
Comments 11
7 min read
Typescript Generics Quick Intro with react basics

Typescript Generics Quick Intro with react basics

66
Comments 4
4 min read
Create a React / TypeScript Generic Component

Create a React / TypeScript Generic Component

56
Comments 9
3 min read
How to add types for Object.fromEntries

How to add types for Object.fromEntries

48
Comments 7
5 min read
A Concise Guide to the Latest Go Generics Draft Design

A Concise Guide to the Latest Go Generics Draft Design

34
Comments 2
4 min read
Typescript inferring - stop writing tests & avoid runtime-errors. pt1

Typescript inferring - stop writing tests & avoid runtime-errors. pt1

33
Comments
8 min read
What are Go Generics & When Should I use Them?

What are Go Generics & When Should I use Them?

30
Comments
3 min read
A peculiar journey to a generic React component using TypeScript

A peculiar journey to a generic React component using TypeScript

27
Comments 1
13 min read
How to UPPER_CASE to camelCase in raw Typescript generics

How to UPPER_CASE to camelCase in raw Typescript generics

24
Comments 6
5 min read
Typescript generics - stop writing tests & avoid runtime-errors. pt2

Typescript generics - stop writing tests & avoid runtime-errors. pt2

21
Comments
9 min read
Making lodash function get type safe

Making lodash function get type safe

20
Comments 2
7 min read
Mastering Generics in Typescript

Mastering Generics in Typescript

20
Comments
6 min read
Type inferred react-redux under 20 lines

Type inferred react-redux under 20 lines

20
Comments
10 min read
A Beginner's Guide to Generics in Typescript

A Beginner's Guide to Generics in Typescript

19
Comments 1
2 min read
Java generics and the problems it solved.

Java generics and the problems it solved.

19
Comments 1
5 min read
I had no idea Typescript generics were capable of doing that 🤯!

I had no idea Typescript generics were capable of doing that 🤯!

18
Comments 1
8 min read
TypeScript Generics - Recover your type checks and IntelliSense

TypeScript Generics - Recover your type checks and IntelliSense

17
Comments
6 min read
Modern PHPDoc Annotations

Modern PHPDoc Annotations

17
Comments 1
18 min read
Generics in Java was never this EASY! — A Complete Beginner’s Guide!

Generics in Java was never this EASY! — A Complete Beginner’s Guide!

16
Comments
6 min read
Testing Generics in Go

Testing Generics in Go

16
Comments 1
3 min read
Dynamic Side navigations in Angular

Dynamic Side navigations in Angular

15
Comments 1
5 min read
Covariance and contravariance in generic types

Covariance and contravariance in generic types

14
Comments
5 min read
Effective Java! Don't Use Raw Types

Effective Java! Don't Use Raw Types

14
Comments 1
4 min read
Understanding Typescript Generics

Understanding Typescript Generics

14
Comments
4 min read
Using Typescript Generic Constraints to Restrict Function Arguments Based on Other Arguments

Using Typescript Generic Constraints to Restrict Function Arguments Based on Other Arguments

14
Comments
1 min read
How to Use Golang’s Generics

How to Use Golang’s Generics

14
Comments
8 min read
Typescript Generics: A Basic Use Case

Typescript Generics: A Basic Use Case

13
Comments
5 min read
Understanding TypeScript Generics

Understanding TypeScript Generics

12
Comments
3 min read
Why I like generics in golang

Why I like generics in golang

12
Comments
3 min read
Is Declaration Merging and Generic Inheritance at the Same Time Impossible?

Is Declaration Merging and Generic Inheritance at the Same Time Impossible?

12
Comments 7
3 min read
Go generics beyond the playground

Go generics beyond the playground

12
Comments 2
15 min read
Pipelines in TypeScript with Generics

Pipelines in TypeScript with Generics

11
Comments
4 min read
Improving Dynamic Component Loader Typings in Angular Using Inputs

Improving Dynamic Component Loader Typings in Angular Using Inputs

10
Comments
3 min read
Go 2 generics in 5 minutes

Go 2 generics in 5 minutes

10
Comments
5 min read
C++ Templates and Java Generics: Two different approaches to generic programming

C++ Templates and Java Generics: Two different approaches to generic programming

10
Comments 1
3 min read
Extending React Standard Types to Allow for Children as a Function

Extending React Standard Types to Allow for Children as a Function

10
Comments
7 min read
Early Perspectives on Go Generics

Early Perspectives on Go Generics

10
Comments
5 min read
My first attempt at Generics...

My first attempt at Generics...

9
Comments
3 min read
Typing Higher Order Components in React

Typing Higher Order Components in React

9
Comments
3 min read
Using React useState hook with TypeScript

Using React useState hook with TypeScript

9
Comments
5 min read
Generics de TypeScript

Generics de TypeScript

9
Comments
4 min read
Generic Programming

Generic Programming

9
Comments 2
4 min read
Generics in Java ✌🏿😁

Generics in Java ✌🏿😁

9
Comments 1
7 min read
Some tips and bothers for Go 1.18 Generics

Some tips and bothers for Go 1.18 Generics

9
Comments
4 min read
Is golangci-lint Generics Readiness?

Is golangci-lint Generics Readiness?

9
Comments
5 min read
Generics implementation approaches

Generics implementation approaches

9
Comments
4 min read
Como usar o typescript a seu favor? (Parte 2)

Como usar o typescript a seu favor? (Parte 2)

9
Comments
3 min read
Typed Dates Conversion with Typescript

Typed Dates Conversion with Typescript

9
Comments
5 min read
'B' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.

'B' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'A'.

9
Comments 1
3 min read
Generic extension methods ambiguity in C#

Generic extension methods ambiguity in C#

8
Comments
2 min read
Rust Generics

Rust Generics

8
Comments
4 min read
Delegate methods in C#. A practical example

Delegate methods in C#. A practical example

8
Comments 2
4 min read
Typed Filtering with Generics in Typescript

Typed Filtering with Generics in Typescript

7
Comments 5
5 min read
A utility type for widening types

A utility type for widening types

7
Comments
3 min read
Converting bits to integers in Rust using generics

Converting bits to integers in Rust using generics

7
Comments 2
4 min read
Generics in Typescript

Generics in Typescript

7
Comments
1 min read
Building type utils - deriving interfaces from union types in TypeScript

Building type utils - deriving interfaces from union types in TypeScript

7
Comments
4 min read
Um Estudo Sobre Generics no TypeScript

Um Estudo Sobre Generics no TypeScript

7
Comments
4 min read
Effective Java! Eliminate Unchecked Warnings

Effective Java! Eliminate Unchecked Warnings

6
Comments
2 min read
Read and Sort Data Generically - Generics in Java

Read and Sort Data Generically - Generics in Java

6
Comments
4 min read
loading...