Eder
@codewitheder
Followers
32
Following
37
Media
130
Statuses
303
Sharing and documenting all things JavaScript and my journey as a Software Engineer.
Los Angeles, CA
Joined January 2022
I am going right
0
0
1
Shout out to JSON.stringify for logging in nodejs apps. Does anyone know of a better way than just doing a console.log?
0
0
0
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.
0
1
1
Woah
0
0
0
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. https://t.co/RXGdU9i63a
medium.com
Photo by Markus Spiske on Unsplash
0
0
0
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 https://t.co/xaOcT0yvMk
telerik.com
Learn how and when to use React Context to manage state and data between React components.
0
0
0
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.
0
0
0