I finished reading David Goggins’ Never Finished last week, and just started reading this one. If you can’t find a mentor, read a book. So far really great read.
good and short article on TS implicit, explicit, and type assertions, in most instances it seems it is not suggested to user type assertions, because TS will not validate the structure or catch mistakes causing runtime errors.
medium.com/@seanbridger/type…
I enjoyed reading this article on React Context. In a tweet, Context is used to pass data to children components without the use of props. An object is created and is consumed with the hook useContext(). Use cases can be themes, auth, or localization
telerik.com/blogs/react-basi…
explaining useMemo - so it should be used when a function is expensive. In react when a component is rendered, that expensive function is likely to be ran, so useMemo memoizes the returned value of the function, but not the actual dependency values.