Join us on a literary world trip!
Add this book to bookshelf
Grey
Write a new comment Default profile 50px
Grey
Subscribe to read the full book or read the first pages for free!
All characters reduced
Learn React Hooks - Unlock scalable state performance and clean code with Hooks Context Suspense and Form Actions - cover

Learn React Hooks - Unlock scalable state performance and clean code with Hooks Context Suspense and Form Actions

Daniel Bugl, Georg Schelkshorn

Publisher: Packt Publishing

  • 0
  • 0
  • 0

Summary

React Hooks allow you to easily encapsulate, reuse, and refactor logic with the same level of simplicity that components bring to user interface organization.In this second edition, React expert and author of many popular React books, Daniel Bugl guides you through the full spectrum of React Hooks, and teaches you how to handle forms, routing, and data fetching in modern React development. This edition is fully updated to React 19, with a revamped structure, expanded real-world use cases, and coverage of all newly introduced Hooks.Starting with the fundamentals, you'll gain a deep understanding of how Hooks work under the hood and how to apply Hooks patterns efficiently. The chapters guide you through using State, Reducer, and Effect Hooks to manage application state, side effects, and complex logic for building your first Hook-based app. You'll utilize Suspense and Context APIs for streamlined data fetching and state management, master Form Actions for handling submissions, and implement routing with Hooks. You’ll also create custom Hooks for advanced functionality and write tests for reliability. Finally, you’ll learn how to refactor an existing app with class components into modern Hooks architecture.By the end of this React book, you'll be well-equipped to use React Hooks to modernize and optimize your React projects.
Available since: 05/23/2025.
Print length: 372 pages.

Other books that might interest you

  • Evolve - Leveraging Artificial Intelligence and Natural Language Technologies to Enable Superhuman Capabilities - cover

    Evolve - Leveraging Artificial...

    Sharon Daniels

    • 0
    • 0
    • 0
    EVOLVE will remove the mystery of AI and bring global awareness to Arria. It will document the vision of NLG everywhere and the impact this technology will have on business and society. It will remove the fear of “robots coming” and communicate Arria’s purpose of ensuring “humanity will remain at the heart of artificial intelligence through natural language generation,” enabling people to do more, be more.
    Show book
  • Acne - Symptoms Treatments and Solutions for Skin Conditions - cover

    Acne - Symptoms Treatments and...

    Joseph Barrel

    • 0
    • 0
    • 0
    Acne. For millions of individuals around the world, it's more than just a word; it's an unwelcome companion that has the power to affect not only the appearance of one's skin but also their self-esteem, confidence, and overall quality of life. Acne is a common skin condition that transcends age, gender, and ethnicity, impacting adolescents in the throes of puberty, adults navigating the challenges of daily life, and even those who believed they had left it behind in their teenage years. 
    In this comprehensive guide, we embark on a journey to demystify acne—the blemish that has confounded and frustrated generations. Whether you're a teenager navigating the tumultuous sea of adolescence, an adult grappling with unexpected outbreaks, or a parent seeking answers for your child, this book is your compass to understanding, managing, and ultimately conquering acne. 
    Our mission is clear: to equip you with knowledge, tools, and strategies that empower you to take control of your skin's destiny. Together, we will explore the intricacies of this skin condition, from its origins deep within hair follicles to the emotional toll it can exact. We will dispel common myths, explore effective treatments, and delve into the lifestyle factors that play a pivotal role in acne management. By the end of this journey, you will possess the insights and resources necessary to face acne head-on and pave your own path to clear, radiant skin. 
    Acne is not just a skin issue; it's a deeply personal experience that can affect your self-image, relationships, and mental well-being. As we embark on this exploration, remember that you are not alone in your struggle, and there is hope for clearer, healthier skin. The journey begins here, and we invite you to join us as we unmask the mysteries of acne and discover the path to a more confident, blemish-free you.
    Show book
  • Humanity Reimagined - Where We Go From Here - cover

    Humanity Reimagined - Where We...

    Martin Fiore

    • 0
    • 0
    • 0
    For years, executive Martin Fiore has been advising leaders from a wide range of industries about technological trends that are reshaping the world of business, from artificial intelligence and the rise of autonomous systems to human/machine convergence. Now, in Humanity Reimagined, Fiore explores how these trends are disrupting industries, changing the world of work, transforming the economy, and creating both threats and opportunities for leaders at all levels, from entrepreneurs nurturing start-up businesses to C-suite leaders at the world’s biggest corporations.  
    Fiore’s main focus is on what we can do to ensure that the forces of change now sweeping the planet will protect and enhance the most cherished qualities of human life rather than undermining them. He offers thoughtful recommendations for addressing many of the big issues that today’s transformational technologies are raising, from the threats to privacy posed by misuse of big data to the infiltration of autonomous systems by racial and gender bias. Most important, Fiore provides advice on how to prepare for an unpredictable future that business leaders, policy makers, and individuals forging their careers will find both practical and inspiring.  
    “Fiore combines perceptive forecasting of change with an understanding of how the world and public already has shifted, making a compelling case that making the best of the future demands improving upon the leadership of the past.”—BookLife Reviews 
    “For those looking for a glimpse at the future, this book isn’t a bad place to start. An encouraging, unflinching look at the tech changes to come.”—Kirkus Reviews
    Show book
  • Sound - Profound Experiences with Chanting Toning Music and Healing Frequencies - cover

    Sound - Profound Experiences...

    Dr. Desiree Hurtak, Dr. J. J....

    • 0
    • 0
    • 0
    You are a musical instrument in the great song of a living universe. Join social scientists and futurists Drs. J. J. and Desiree Hurtak as they show you how sound is an integral part of who you are and how you got here—in fact, it is the sacred song of your soul. 
     
     
     
    Witness the science of frequency and timeless art of sound as an instrument of—and entry point to—the Divine as the coauthors, along with our sacred storytellers, share their mystical experiences, including those of: a pianist who received healing through playing her piano; a man who used song to connect with people who have dementia; a man who connected with ancient spirits through the ringing stones in South Africa; a woman who remembered past lives by listening to the sacred chanting of monks; a recording artist who connected to his healing muse through sound; and a woman who found her voice through speaking light language. 
     
     
     
    Sound is alive in everything, and it is tuning humanity to a brighter future. Discover how plants create music and how space is a symphony of creation. Understand archeo-acoustics and how sound is used in sacred temples. Raise your vibration as you chant mantras composed of sacred names, thoughts, and expressions. Create harmony in your life as you embrace the world of musical experience and come in tune with your truest vibrational nature.
    Show book
  • The Line of the Ball - Leadership Legacy and Lifelong Lessons in Family Business and Sport - cover

    The Line of the Ball -...

    Beh Chun Chuan

    • 0
    • 0
    • 0
    In the game of polo, "following the line of the ball" means staying on the optimal path to maintain momentum and control. For Dr. Beh Chun Chuan, this principle has guided not just his polo playing but his entire approach to business and life.
    Show book
  • Shimmer don't Shake - How Publishing Can Embrace AI - cover

    Shimmer don't Shake - How...

    Nadim Sadek

    • 0
    • 0
    • 0
    Discover the future of publishing in Shimmer don't Shake: How Publishing can embrace AI by Nadim Sadek. This groundbreaking book explores the evolving landscape of the publishing industry and the integration of artificial intelligence (AI) to revolutionize the way books are promoted, matched with readers, and valued.Authors often feel frustrated with the limited promotion of their books by traditional publishers. Marketing departments struggle to effectively connect with readers due to limited resources and the strain of managing exasperated authors. On the other hand, readers yearn for a more effective way to find books that suit their tastes. There is a vast untapped potential for matching willing audiences with suitable books, written by talented authors who seek greater reach.Shimmer don't Shake presents AI as the solution to these challenges. By leveraging AI technologies, publishers can optimize product descriptions, create unique marketing copy, and generate personalized book recommendations. Large language models like the GPT-series enable automated generation of high-quality book descriptions, freeing marketers from the time-consuming task of manual crafting. AI systems can be trained to consider the psychological profile of a book and match it to the frame of mind of a specific audience, ensuring a more effective connection between readers and books.With AI, the publishing industry can enter a new era of innovation and success. Shimmer don't Shake showcases how AI can help authors, readers, and publishers alike. Authors can gain greater visibility and reach as their books are matched with their target audience, allowing their genius to shimmer in the public's eye. Readers can finally discover books that fulfill their needs and preferences, enhancing their reading experience. Publishers can extract more value from their vast catalog of titles, ensuring that every book has the opportunity to shine.This book goes beyond theoretical discussions and provides practical insights on integrating AI into the publishing process. It addresses the ethical considerations surrounding AI and emphasizes the need to preserve the artistic merit of writing. With a blend of expertise in publishing, psychology, AI, and marketing, the author presents a comprehensive guide to leveraging AI for successful book promotion and engagement.Shimmer don't Shake is a must-read for authors, publishers, and anyone interested in the future of the publishing industry. It offers a compelling vision of how AI can transform publishing, allowing books to embrace new opportunities, connect with readers on a deeper level, and ultimately thrive in the digital age.
    Show book