No more than the existing trend of 'web app' entirely Javascript rendered websites. My solution to both is very simple: I run JS only from white-listed domains. Sure this breaks many sites but, well, fuck those sites.
Someone mentioned a CoinHive Captcha. This is usually when my NoScript approach breaks. There would be no way around enabling the captcha script, therefore enabling the miner. Normally I then... fuck those sites, but what if that's reaaaally becoming a thing and say StackOverflow does it? You would need some way of adjusting allocated browser resources real fast and precise. Only way I can think of right now...