React Day 4: Lifting State Up & Shared Data

Day 4 of React series. Understand how to share state between components by lifting state up to a common ancestor.

November 20, 2024 · 6 min · 1092 words · Nirajan Khatiwada

Exit Animations & AnimatePresence in Framer Motion

Unlock the ability to animate components out of the DOM with AnimatePresence, essential for modals and page transitions.

October 16, 2025 · 3 min · 572 words · Nirajan Khatiwada

React Day 5: Styling Components & CSS Modules

Day 5 of React series. A complete guide to styling React components, from inline styles to scoped CSS Modules.

November 21, 2024 · 3 min · 588 words · Nirajan Khatiwada

Framer Motion Variants & Staggering Children

Use Variants to organize animation states and effortlessly orchestrate complex staggered animations across component trees.

October 17, 2025 · 7 min · 1378 words · Nirajan Khatiwada

React Day 6: Debugging & React DevTools

Day 6 of React series. Guide to effective debugging in React using console, Strict Mode, and React Developer Tools.

November 21, 2024 · 1 min · 159 words · Nirajan Khatiwada

Project 3: Staggered Sidebar Menu Animation

Create a production-ready collapsible sidebar menu that animates its items sequentially using staggerChildren.

October 18, 2025 · 1 min · 152 words · Nirajan Khatiwada

React Day 7: useRef, Refs & Portals

Day 7 of React series. Master direct DOM manipulation with Refs and rendering outside the main tree with Portals.

November 22, 2024 · 9 min · 1859 words · Nirajan Khatiwada

Responsive Animations with CSS Variables in Framer Motion

Combine the power of CSS variables with Framer Motion to build animations that adapt perfectly to different screen sizes and states.

October 19, 2025 · 1 min · 120 words · Nirajan Khatiwada

React Day 8: Context API & Prop Drilling

Day 8 of React series. Understand prop drilling and implement the Context API for efficient global state management.

November 23, 2024 · 8 min · 1543 words · Nirajan Khatiwada

Scroll Trigger Animations: whileInView & viewport

Easily trigger animations when elements enter the viewport using whileInView. Configure offsets and repeat behavior.

October 20, 2025 · 3 min · 606 words · Nirajan Khatiwada