I use chat gpt a lot to get a basic working example of a thing, move it to code sandbox and learn it. If its a big thing I have a sandbox vite app Ill delete, reinstall and build my example in that limited environment.