I think this is where personal problem solving skills matter. I use ChatGPT to start off a lot of new ideas or projects with unfamiliar tools or libraries I will be using, however the result isn't always good. From here, a good developer will take the information from the A.I tool and look further into current documentation to supplement.
If you can't distinguish bad from good with LLMs, you might as well be throwing crap at the wall hoping it will stick.