Загрузка видео...

Не удалось загрузить видео

На главную

⚛️ Write better and safer condition with pattern matching ↓

108,866 просмотров • 2 лет назад •via X (Twitter)

Комментарии: 9

Фото профиля George Moller
George Moller2 лет назад

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 ↓

Фото профиля Igor
Igor2 лет назад

I miss when you posted pictures instead of videos 😔

Фото профиля ra 0of
ra 0of2 лет назад

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

Фото профиля versionControlDev( )
versionControlDev( )2 лет назад

Nested conditional statements using the ternary operator

Фото профиля Romain LAURENT
Romain LAURENT2 лет назад

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

Фото профиля Anuj Varshney
Anuj Varshney2 лет назад

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?

Фото профиля AM
AM2 лет назад

thats dope

Фото профиля Senthil
Senthil2 лет назад

Things that I miss about Erlang…

Фото профиля Muhi Masri
Muhi Masri2 лет назад

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

Похожие видео