Best Frontend Courses LogoBest Frontend Courses
    • AI
    • Accessibility
    • Algorithms
    • Angular
    • Architecture
    • Astro
    • Auth
    • CSS
    • Firebase
    • Game Development
    • Gatsby
    • Git
    • GraphQL
    • HTML
    • Ionic
    • JavaScript
    • Jotai
    • MobX
    • Native
    • Netlify
    • Next.js
    • Nx
    • Performance
    • Prisma
    • React
    • React Native
    • Redux
    • Remix
    • Rx.js
    • SCSS/Sass
    • SolidJS
    • Storybook
    • Supabase
    • Svelte
    • Tailwind
    • Testing
    • TypeScript
    • Vue.js
    • XState
    • jQuery
    • p5.js
  • Add Course
  • Login

Copyright Š 2026Best Frontend Courses. All rights reserved.

  • Categories
  • Instructors
  • Terms of Service
  • Privacy Policy
  • Feedback
  1. Home
  2. React
  3. Shareable Custom Hooks in React
React
Video

Shareable Custom Hooks in React

by Joe Previte
Enroll
đŸ•šī¸ Levels: 😎 Intermediate
âŗ Duration: 0.5 hours
🤑 Price: Subscription
🧑‍đŸ’ģ Learning Platform: Egghead.io
🧑‍🎓 Certificate: No

🔑 Key Learning Outcomes

  • Understanding the usage of Custom React Hooks.
  • Testing React Hooks.
  • Publishing a Custom React Hook as an npm Package.

👨‍đŸĢ About the Course

This course delves into creating shareable custom hooks in React. You will learn how to refactor components using custom hooks, apply patterns used by the React team, and enhance the readability, reusability, and efficiency of your code.

đŸŽ¯ Target Audience

  • Ideal for developers familiar with React looking to deepen their understanding of custom hooks and improve code quality.

✅ Requirements

  • Prior knowledge of React, including stateful logic in function components, is required to fully benefit from this course.

📖 Course Content

  • Refactor a Stateful React Class Component to a Function Component with the State Hook.
  • Utilize the React Effect Hook in Function Components.
  • Create a Custom State Hook in React.
  • Develop a Custom React Effect Hook.
  • Extract a Custom Hook into its own Module with create-react-hook.
  • Test a Custom Hook Module with react-hooks-testing-library.
  • Prepare a Custom React Hook to be Published as an npm Package.
  • Publish a Custom React Hook as an npm Package.
Update Course

Drop a comment

Shareable Custom Hooks in React by Joe Previte

Log in to leave a feedback

Login

👇 Psst! Interested in More React Courses?

ReactJavaScript

The Ultimate Redux Course

đŸ•šī¸ Levels: 🌱 Beginner, 😎 Intermediate

ReactTesting

Testing React Apps with React Testing Library

đŸ•šī¸ Levels: 🌱 Beginner, 😎 Intermediate

ReactTypeScript

React 18 for Beginners

đŸ•šī¸ Levels: 🌱 Beginner

🔙 Back to React Category