we use conditions everywhere on our applications whether for state check or rendering some data into the view depending on some parameters. in this...
For further actions, you may consider blocking this person and/or reporting abuse
Just one simple piece of advice: Instead of using 4 spaces for indentation in code snippets for blogs, I think it's better to use 2 spaces as it reduces the need for horizontal scrolling.
Great read. 👌
thanks for this advice 🤍
github.com/gvergnaud/ts-pattern
this is also a good alternative
will try it thanks 💕
As always, all gold is in comments :)
this is awesome
you are awesome
Thank you 🙏
You're welcome 💕
There is nothing wrong with conditions, you just reshaped the data you are working with
exactly, there is nothing wrong with conditions anyways , it's just a better approach
Amazing tip!
thanks <3
didn't expect that anyone would see this post
You are doing great
thanks 💕
Well executed!
thanks 🤍
Nice one!!!
thanks :)
Well explained!
thanks 🤍
Brilliant <3
thanks 🤍
thanks 👌
you are welcome 😌🤍
Nice code
thanks 🤍
very understandable.
thanks 🤍🔥
I like this.
thanks 🤍
Greate!!!!!
thanks 😌
Nice
thanks 🤍
Nice explanation.
thanks 🤍
great
thanks ♥️
Nice. Thank you for this
thanks 🤍😌
Perfect explanation!!!
simple way to do clean code :)
happy to hear that 💕