Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

⚛️ Write better and safer condition with pattern matching ↓

108,866 Aufrufe • vor 2 Jahren •via X (Twitter)

9 Kommentare

Profilbild von George Moller
George Mollervor 2 Jahren

I've been working professionally with React for more than 8 years and I compiled all my knowledge into 100+ infographics and 70+ video tutorials just like this one. Check them out ↓

Profilbild von Igor
Igorvor 2 Jahren

I miss when you posted pictures instead of videos 😔

Profilbild von ra 0of
ra 0ofvor 2 Jahren

use if/else, you don't need to abstract everything, especially if it's from a 3rd party library. more code is cheaper than wrong abstraction

Profilbild von versionControlDev( )
versionControlDev( )vor 2 Jahren

Nested conditional statements using the ternary operator

Profilbild von Romain LAURENT
Romain LAURENTvor 2 Jahren

For my part, I use cond from Ramda, it's quite pretty!

Profilbild von Anuj Varshney
Anuj Varshneyvor 2 Jahren

It's like a switch case rather than use if else. This handling cases way is really amazing. Does any third party library either react to have this?

Profilbild von AM
AMvor 2 Jahren

thats dope

Profilbild von Senthil
Senthilvor 2 Jahren

Things that I miss about Erlang…

Profilbild von Muhi Masri
Muhi Masrivor 2 Jahren

Really nice! I like how the conditions are packed in a "with" function with comma separator. Very neat.

Ähnliche Videos