Let's Discover the JavaScript Map Keyed Collection
Learn about JavaScript Map: its keyed collection, differences from objects & how to perform CRUD operations using Map methods. Discover essential tips and practical guides.
- #javascript
Learn about JavaScript Map: its keyed collection, differences from objects & how to perform CRUD operations using Map methods. Discover essential tips and practical guides.
Shallow vs. deep copy in objects: shallow copies reference, deep copies the object. Use reference for shallow, recursively duplicate for deep copy. Dive into the full post.
Reflecting on January, inspired by Atomic Habits, I'm learning Next.js, Chakra UI, and Redux Toolkit for the Hacker News project. Next up: Cypress. Dive into the full post.
Boost React app performance with useCallback hook. Understand how it works, prevent re-renders & compare examples with/without useCallback. Read the full guide to learn.
Optimize React app performance with useMemo hook. Learn advantages disadvantages & see performance difference with before/after examples. Explore this comprehensive guide.
Access global state in functional components with useContext hook in React 16.8. Avoid prop drilling & consume context efficiently. Dive into this step-by-step tutorial.
Reflect on 2022 with The Wrapped Journal. Build consistency, and overcome burnout & imposter syndrome. Track progress & achievements. Dive into this step-by-step tutorial.
Manage state changes & fetch API data with useReducer in React. More flexible than useState, takes reducer & initial state, returns state & dispatch function. Read on.
Learn to use useEffect in React for side effects such as fetching data, event listeners, etc. Control hook call with dependency array & use with diff values. Read on.
Learn to use useState in React to handle data types, avoid mutability in arrays & update state values. Bonus: TypeScript & handling state logging behavior. Read more to learn.