This is a question, not a critique, is it not necessary to check for the existence of the conditional variable if you use the NOT operator?
Fwiw, great post! Definitely will use this as inspiration for some component refactoring on my current project.
Thanks!!
Hello, no actually you don't have to every falsy value is considered as false.
Thanks! That’s super helpful to know!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This is a question, not a critique, is it not necessary to check for the existence of the conditional variable if you use the NOT operator?
Fwiw, great post! Definitely will use this as inspiration for some component refactoring on my current project.
Thanks!!
Hello, no actually you don't have to every falsy value is considered as false.
Thanks! That’s super helpful to know!