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
Mastering React Test-Driven Development - Build simple and maintainable web apps with React Redux and GraphQL - cover

Mastering React Test-Driven Development - Build simple and maintainable web apps with React Redux and GraphQL

Daniel Irvine

Publisher: Packt Publishing

  • 0
  • 0
  • 0

Summary

Test-driven development (TDD) is a programming workflow that helps you build your apps by specifying behavior as automated tests. The TDD workflow future-proofs apps so that they can be modified without fear of breaking existing functionality. Another benefit of TDD is that it helps software development teams communicate their intentions more clearly, by way of test specifications.
This book teaches you how to apply TDD when building React apps. You’ll create a sample app using the same React libraries and tools that professional React developers use, such as Jest, React Router, Redux, Relay (GraphQL), Cucumber, and Puppeteer. The TDD workflow is supported by various testing techniques and patterns, which are useful even if you’re not following the TDD process. This book covers these techniques by walking you through the creation of a component test framework. You’ll learn automated testing theory which will help you work with any of the test libraries that are in standard usage today, such as React Testing Library. This second edition has been revised with a stronger focus on concise code examples and has been fully updated for React 18.
By the end of this TDD book, you’ll be able to use React, Redux, and GraphQL to develop robust web apps.
Available since: 09/30/2022.
Print length: 564 pages.

Other books that might interest you

  • The Phone Fix - The Brain-Focused Guide to Building Healthy Digital Habits and Breaking Bad Ones - cover

    The Phone Fix - The...

    Dr Faye Begeti

    • 0
    • 0
    • 0
    What is really happening in your brain when you use your phone, and how to harness it. 
     
    Humans are often fearful of the day the world will be ruled by machines, but have they not already taken over? The average person spends 4-5 hours a day on their phone, about a third of the time they are awake. We self-interrupt our work and social lives, forgo sleep, procrastinate important tasks and opt for digital distraction when we're bored or feel uncomfortable. 
     
    NHS neurology doctor and neuroscientist Faye Begeti describes what is happening in our brain when we use our phones and why we have formed so many fixed and negative habits around them. She reflects on both deliberate choices and automatic behaviours, whilst also challenging myths around digital 'addiction', how dopamine actually works and the harmfulness of blue light. 
     
    Rather than recommending a quick fix digital diet, or total abstinence - unviable for most people - The Phone Fix offers a practical guide, based on neuroscientific techniques, on building supportive digital habits. Technology is not inherently bad or frightening and by better understanding what is happening in our brains, we can replenish our willpower and improve our focus, forming a healthier relationship with our phones ¬- and therefore the real people around us.
    Show book
  • Bitcoin Price Prediction using Machine Learning - Podcast - cover

    Bitcoin Price Prediction using...

    Bryan DeHart

    • 0
    • 0
    • 0
    This podcast explores Bitcoin price prediction using machine learning techniques. It focuses on the use of the XGBoost classifier, demonstrating its high accuracy (99.08%) compared to other algorithms such as logistic regression, SVM, and Random Forest. The study analyzes a historical Bitcoin price dataset, applying data preprocessing and evaluating model performance through metrics such as accuracy, recall, and F1 score. The results show the effectiveness of XGBoost in predicting Bitcoin price changes, offering valuable insights for investors. Future research is discussed to improve the model's accuracy by integrating additional data and ensemble learning techniques.
    Show book
  • Claude Code or ChatGPT Codex - The AI Non-Coder’s Honest Guide Before Getting Started - cover

    Claude Code or ChatGPT Codex -...

    Michael Patterson

    • 0
    • 0
    • 0
    Build Real Software Without Learning to Code - The Complete AI Coding Guide for Non-Programmers 
    Stop waiting for developers to build your ideas. With Claude Code and ChatGPT Codex, you can create working apps, automation scripts, and web tools using plain English descriptions. 
    This book cuts through the AI coding hype to deliver practical, tested strategies for non-programmers who want to build real software. No computer science degree required. 
    What You'll Master: 
    Choose Your AI Coding Tool: Get a detailed comparison of Claude Code vs ChatGPT Codex, including costs, setup requirements, and which tool fits your specific projects and comfort level. 
    Set Up Your Environment: Follow step-by-step instructions to install Node.js and Git, and configure your development environment without getting lost in terminal commands. 
    Write Prompts That Work: Use the proven task-context-constraints framework to get working code on the first attempt, rather than endless broken iterations. 
    Build Real Projects: Create automation scripts, web applications with user authentication, payment processing with Stripe, and database integration using Supabase. 
    Debug Like a Pro: Learn to read error messages, guide your AI agent through fixes, and avoid the common debugging loops that trap beginners. 
    Deploy to Production: Get your apps live on the internet with Vercel, Netlify, and Railway, using custom domains and secure infrastructure. 
    Avoid Costly Mistakes: Protect your API keys, set spending limits, and implement security practices to prevent costly accidents. 
    Monetize Your Work: Add subscription billing, one-time payments, and turn your projects into revenue-generating tools.
    Show book
  • CompTIA A+ All-in-One Mastery Pack - Ace Exams 220-1101 & 220-1102 Complete Study Guide + 250 Practice Questions with Detailed Answers for Certification Success - cover

    CompTIA A+ All-in-One Mastery...

    Josh Russell

    • 0
    • 0
    • 0
    Master CompTIA A+ Certification with Confidence! 
    Your Ultimate 2-in-1 Study Powerhouse for Exams 220-1101 & 220-1102 
    Are you ready to launch your IT career or take it to the next level? Whether you're a beginner or brushing up, this all-in-one guide is your fast-track ticket to passing the CompTIA A+ exams and standing out in the tech world. 
    This book is a complete, battle-tested toolkit built for exam domination. 
    🧠 What You’ll Get Inside:✅ Full Coverage of Core 1 & Core 2 Exams: All exam objectives explained in easy, actionable language✅ 250+ Practice Questions with Expert Answers: Prepare smarter with real-world scenarios and detailed explanations✅ IT Concepts Made Simple: From hardware and mobile devices to OS troubleshooting, we break it down with clarity✅ Bonus Audio-Friendly Learning Guide (Perfect for Audible): Absorb key concepts on the go—just press play and learn✅ Test-Taking Strategies & Pro Tips: Learn how to think like the exam and stay calm under pressure 
    🔑 Why This Book Is a Must-Have:💼 Trusted by aspiring IT pros, help desk technicians, and students worldwide📚 Ideal for self-study, bootcamp prep, or classroom support🎯 Built to help you pass on the first try—and actually remember what you learn 
    ✨ Unlock Your Future in IT 
    If you're aiming for a promotion, pivoting careers, or simply love solving tech puzzles, this book is your launchpad. Get certified, get noticed, and start building your tech empire. 
    👉 Grab your copy now and prepare like a pro!
    Show book
  • Chandogya Upanishad - cover

    Chandogya Upanishad

    Unknown

    • 0
    • 0
    • 0
    The word Upanishad (upa-ni-shad) consists of, "Upa" means "near;" "ni" means "down;" "shad" means "to sit." Thus, Upanishad is to sit down near the teacher to discuss, learn, practice, and experience. There are some 200 or more Upanishads. Some are lost and are only known about because of being referenced in other Upanishads. The Chandogya-upanishad belongs to the Sama-veda. It ranks among the oldest Upanishads, dating to the Brahmana period of Vedic Sanskrit (before the 8th century BC). It figures as number 9 in the Muktika canon of 108 Upanishads. It is part of the Chandogya Brahmana, which has ten Prapathakas (Parts). The first two Prapathakas of the Brahmana deal with sacrifices and other forms of worship. The other eight Prapathakas and their Khandas (Chapters) constitute the Chandogya Upanishad. The 11 principal Upanishads to which Sankara appeals in his great commentary on the Vedanta-Surtras are: Chandogya, Talavakara or Kena, Aitareya, Kaushitaki, Vajasaneyi or Isha, Katha, Mundaka, Taittirtiyaka or Taittiriya, Brihadaranyaka, Svetasvatara, and Prasna. They are also called the 11 classical Upanishads or the fundamental Upanishads of the Vedanta Philosophy. The Upanishadic literature is not a religious scripture and is free from dogma and doctrines. It is not a part of any religion but is a philosophy for all times and for all. German philosopher Arthur Schopenhauer, impressed by the Upanishads, called the texts "the production of the highest human wisdom". (Summary by Jothi)
    Show book
  • Domestication of Dogs and Cats The: The History and Legacy of People’s Favorite Pets - cover

    Domestication of Dogs and Cats...

    Editors Charles River

    • 0
    • 0
    • 0
    As the oft-repeated and invariably accurate pearl of wisdom goes, a dog truly is man's best friend. For a long time, people have almost universally loved dogs, and it seems to have been that way for at least tens of thousands of years. When affection is abundantly and consistently expressed, this pure, unspoken, wholesome love is one that is very much requited, and then some. This bond can be demonstrated by the mere existence of pet keepers who unironically refer to themselves as “dog parents,” not merely “dog owners.” 
    Of course, this camaraderie between man and dog did not materialize overnight. Quite the contrary, the relationship between people and dogs gradually evolved and steadily strengthened over several millennia, following a premise best summed up by the dog's metamorphosis from a predator to a lifelong companion. Apart from friendship and companionship, dogs may have been the first animal to be domesticated, and they have been trained to provide loyal and competent service in a variety of fields, ranging from seeing-eye dogs to vest-wearing police partners, among other lines of work. 
    People's obsession with felines is an enigma in and of itself. Unlike dogs, famously known as man's most excitable, trustworthy, and loyal friend, cats are oftentimes indifferent, guarded, and yet finicky little furry creatures who only yearn for attention and affection when one is neck-deep in work or otherwise preoccupied. And still, people adore them all the same. 
    In a recent poll that surveyed 600 American college students, 60% of the participants identified themselves as “dog lovers,” whereas only 11% pledged their love for cats. The remaining 29% regarded themselves as fans of both critters or fans of neither. Be that as it may, there is said to be anywhere between a staggering 88=94 million pet cats in the United States alone, which eclipses the roughly 84-90 million pet dogs in the country.
    Show book