I'm slowly discovering how dope ChatGPT is as a code writing assistant.
Since I'm still just learning how to write a frontend in React, ChatGPT is great for giving me an idea how to do simple things that work so I can base my code on it. It can even write simple tests so I can see how all the components interact.
I wouldn't copy and paste what it generates, but it makes for a great starting point or proof of concept.