Personally I've started 13 years ago as a web developer and I stopped coding more or less 6 years ago when I entered the UI design and then the UX design career. So I "know" html, css, js, php, mysql, but even c++, java, etc.
For me being UX designer with coding skills helps me a lot when I set up all my UX work that is the basis for other devs. I anticipate problems and have a higher armony with the CTO and the devs during brainstorms and workshops.
But... writing code? Nope! We have tons of stuff to do. Writing code takes a lot of time and skills day by day improved and updated by the super-fast-changing web development industry. How can we do everything? being a good front-end dev requires a full-time effort. Technologies like React, Angular, and co, are not picnic. I know they are simpler then BE dev languages, but I am pretty sure that you need to stay there full-time to master them and bring home professional results.
I personally think that even UX unicorn shouldn't code. They already are into UX strategy, design, research, IA, etc. etc. That's my current status and I'd love to have a UX team!