React Hooks - useCallback
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.
- #frontend
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.
Automate CI/CD tasks and improve your workflow with GitHub Actions. Learn triggers, jobs, steps & setting up Jest testing with a practical example. Dive into the full post.
Create React pagination with 5 pages, navigation buttons, current page highlight, and centered navigation. No external packages needed. Demo & code provided. Read on.
JS hoisting permits access to vars/funcs before creation, but var confuses by enabling calls before def. Prefer let/const for error prevention. Dive into the full post.