Jul 2, 2022
@Maksym thanks for you valuable time and also thanks for sharing your thoughts.
First Tip is more suitable when your working in Pure JS code, like writing utility methods, and last Tip is suitable when your are working in React. We tend to write something like {data && <Component />}, So last Tip make more sense here.
For third Tip, it may look complex but once you are used to it, it will be make sense.