TypeScript Enums Explained

preview_player
Показать описание
A tutorial on TypeScript enums and how to use an enum in your vanilla JavaScript, React apps or code in general.

======⚡⚡⚡======
======⚡⚡⚡======

📚 Resources:

And don't forget to subscribe for more videos like this 😊
Рекомендации по теме
Комментарии
Автор

This tutorial was extremely helpful, I actually managed to get Enums for the first time! Thank you!

jijieats
Автор

damn, you're good at it! Thx for explaining the topic in a relaxed yet focused manner, absolutely loved the pace of this video.

NikP_archive_channel
Автор

very clear explanation. thank you so much.

Batman-fnnz
Автор

Friends don't let friends use enums. Every language I've used that supports enums have different kinds of issues. They are a bit of a Frankenstein where sometimes they are constants, sometimes they are an object, different names can have the same value, and allowing for default value generation is fraught with problems. Lastly, if you have to use them, never, ever, ever store them in a database. They are a great idea. In theory. I really want them to work. But they don't. Go and learn about, but never use them in a production app. Your welcome 😇

fed-yum
Автор

How to use enums? (In typescript) you don't

bryson
Автор

enums shouldn't exist, they are pretty useless... 💁‍♂

Gszada