React Hooks - useEffect
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.
- #frontend
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.
Explore React's Context API for sharing data among components without props drilling. Demo includes search, region filter, pagination, and theme switcher. Read more to learn.
Comparing mutable and immutable array methods in JS, covering pop(), shift(), push(), unshift(). Tips for avoiding altering original arrays included. Read more to learn.
Guide to contributing to open source: Covers Git, GitHub, finding good first issues. Personal journey of writer's first pull request, tips to start. Read more to learn.
My 100 Days of Code experience: Focused on JS, HTML/CSS. Lessons, strategies for consistency, tips for working with JS, importance of breaks, goals. Read more to learn.
Tailwind CSS: utility-first framework speeds up styling with inline markup, wide class range like flex and pt-4. Customizable and no switching files. Read more to learn.