Eder
@codewitheder
Sharing and documenting all things JavaScript and my journey as a Software Engineer.
I am going right
Let your work be the reason they want to meet you.
Shout out to JSON.stringify for logging in nodejs apps. Does anyone know of a better way than just doing a console.log?
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.
Woah
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/t…
medium.com
TypeScript Basics (4/10): Implicit and Explicit Types, Assertions
Photo by Markus Spiske on Unsplash
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-ba…
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.
United States 趨勢
- 1. Browns 59.6K posts
- 2. Ravens 41.3K posts
- 3. Notre Dame 137K posts
- 4. Shedeur 63.4K posts
- 5. Bengals 39.8K posts
- 6. Stefanski 17.8K posts
- 7. Josh Allen 18.4K posts
- 8. Steelers 48.7K posts
- 9. Lamar 28.2K posts
- 10. Titans 28.7K posts
- 11. Bills 88.7K posts
- 12. Joe Burrow 14K posts
- 13. Colts 29.5K posts
- 14. Saints 33.4K posts
- 15. Bucs 11.7K posts
- 16. Jordan Love 6,184 posts
- 17. #HereWeGo 5,761 posts
- 18. Tulane 40.7K posts
- 19. Tee Higgins 6,197 posts
- 20. ESPN 101K posts
Something went wrong.
Something went wrong.