From the course: Build with AI: Beyond Pair Programming with AI
Unlock this course with a free trial
Join today to access over 25,000 courses taught by industry experts.
Documentation-driven AI assistance
From the course: Build with AI: Beyond Pair Programming with AI
Documentation-driven AI assistance
- [Instructor] Okay, in between the previous video and this one, I've reset my code so that I can show you a different approach to this same problem. I'm back to having JSX.Element in my code, and as you saw in the previous video, when I ask the system to fix it, it's not really doing what I want right away and it requires me to have a lot of knowledge about what's going on. The good news is, in most cases, when there is a new standard, you'll be able to find documentation or examples or explainers online to show how you're supposed to do things. This could be really useful if you are not yourself familiar with how to solve a problem or a new standard and you just quickly want to implement it. To do that, you use what we talked about in an earlier chapter, documentation driven development, and to do that here, I'm going to clear out my chat, then go over to a webpage where I found an explanation for what's going on. So here we have a quick explanation, JSX.Element and…