As you continue to learn what are the best practices for testing and debugging, there are many places to support your journey. In this video, Emmanuel Henri goes through the resources available such as Google Search, Stack Overflow, React community channel, and GitHub repo to help research unknown or harder bugs and fixes.
- [Instructor] There will be times … when you get really weird bugs … or new ones you've never heard of. … In these times, even after having gone through the tools, … you're still scratching your head … and are ready to throw your computer off the window. … Don't despair, there are resources to help you resolve it. … Most of the time someone else has gone … through the same experience or error you just had, … and most likely ask a question … in one of the resources I'll show you. … You just need to find this particular pose, … and reproduce a solution and off you go. … So let's take a look at in there. … So let's say for example, I'm back here, … and right now there's no bug in our application. … Let's say I remove this particular key ID here … and just save it. … And then would go into my browser, … and let's open the application, localhost … and then go into the console, more tools. … Dev tools and I get each child in a list … should have a unique key prop. … So let's say for example, I didn't have that link here. …
- Setting up for React testing and debugging
- Testing with Jest
- Snapshot testing
- Debugging with Chrome and Chrome extensions
- Optimizing React code with ESLINT
- Type checking