I am a webdev and I use mostly linux servers / docker for my job but still my work pc is windows 10 machine. WSL2 was incredibly slow for my dev job. It consumed a lot of RAM and CPU. I got permission problems inside wsl all the time - I edited files in some editor (eg phpstorm or visual code) and then the permissions were broken inside wsl2 for that file.. or the CPU started suddenly to go insane.
My experience was a pain in the ass. I dumped wsl2 or some virtualization and use this instead:
I have a small linux cloud instance with full ssh access. (I pay 4 USD / month). I use a free tool called mutagen to sync all my files on my windows machine to that linux machine. Sync is almost instant, it feels like working on local server.
Other plus, I can show to my coworkers and customers what I do on my server. Especially now when I work from home.
WSL2 is nice for smaller things, but I would not use it for full web dev server. I would if I could but it doesn't work nice for me. And somehow, it doesn't feel right... I know linux is fast but in wsl2 it is way slower.