Generics in TypeScript Explained Simply (No Jargon!)

  Рет қаралды 1,861

Full Stack Niraj

Full Stack Niraj

Күн бұрын

Пікірлер: 10
@elementare.
@elementare. 5 күн бұрын
Thank u bro, nice video! I hate JS/TS, but for the first time, I started to like it
@shafiq_ramli
@shafiq_ramli 5 күн бұрын
I don't fully learn typescript yet but I kinda get the concept of generics from this video. Good job 👍🏻
@fsniraj
@fsniraj 5 күн бұрын
That's great to hear!
@kashmirtechtv2948
@kashmirtechtv2948 5 күн бұрын
this is the best video for geenrics
@emotional_damage__
@emotional_damage__ 5 күн бұрын
Thank you bro. Nice content!
@abhishekmagar9843
@abhishekmagar9843 5 күн бұрын
Thank you for useful information. what about post body payload if it may be Object or array or null ?? which mean we don't have idea what is get as payload while making function for, CRUD operation.
@fsniraj
@fsniraj 5 күн бұрын
I don't exactly know if you are asking for something this. const postToAPI = async (endpoint: string, body: B) => { const result = await fetch(endpoint, { method: "POST", body: JSON.stringify(body), }); if (result.ok) return (await result.json()) as T; };
@kashmirtechtv2948
@kashmirtechtv2948 5 күн бұрын
great brother
Learn TypeScript Generics In 13 Minutes
12:52
Web Dev Simplified
Рет қаралды 293 М.
TypeScript Generics are EASY once you know this
22:21
ByteGrad
Рет қаралды 146 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Typescript Interface vs Types Aliases - Why it's so Confusing?
9:54
HTTP Middlewares in golang (1/2)
12:54
Krishna Iyer HQ
Рет қаралды 291
React.FC Simplified: Say Goodbye to Confusion
8:19
Full Stack Niraj
Рет қаралды 1,8 М.
Hardy's Integral
13:47
Michael Penn
Рет қаралды 14 М.
7 TypeScript DOs and DON'Ts That You Should Be Aware Of
14:07
Software Developer Diaries
Рет қаралды 5 М.
Run ALL Your AI Locally in Minutes (LLMs, RAG, and more)
20:19
Cole Medin
Рет қаралды 319 М.
The Rich Text Editor With Image Upload | Next JS | React
2:18:31
Full Stack Niraj
Рет қаралды 3,5 М.