In regard to the topic of calculated/derived state properties, I always ask myself the two questions:
In case the answer is yes to both questions then one property can be derived from the other (the base one). This has served me well so far ;)
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.
In regard to the topic of calculated/derived state properties, I always ask myself the two questions:
In case the answer is yes to both questions then one property can be derived from the other (the base one).
This has served me well so far ;)