I'm using this enclosure from Amazon: https://www.amazon.com/gp/product/B07F9VQ4XC/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1
It has a 1TB Samsung 970 EVO SSD installed in it and is connected directly to a TB3 port, no hubs in between. No problems as long as my Mac doesn't go to sleep and the speeds fully saturate the 10Gbps link. I'll keep tabs on Samsung's site to see if they update the drive's firmware. Not sure if I'll see any support for the enclosure since searching the brand doesn't bring up any results other than the Amazon listings. This will probably turn into a secondary drive eventually since my photo library will fit on the local storage on my incoming iMac (couldn't go 256GB on the top-spec) and I keep trying to have iTunes network-attached but run into snags. But Mojave hasn't been bug-free for me since upgrading so I wouldn't be surprised if this gets fixed in an update (hopefully with SMB which I posted a separate thread about).
Its usually more the USB 3.0 controller chip on the PCI interface in the enclosure thats the problem. I wouldnt worry too much about the Samsung firmware but if you can its always worthwhile updating.
To be fair, for an NVME enclosure I'd be surprised they're not using USB 3.1 so maybe they cheaped out on the USB controller chip but this is an unknown Chinese brand so might be difficult to find any firmware if it exists at all and often is the case with these brands is they write their firmware to cater for Windows users and ignore macOS users entirely so I've got into the habit of buying enclosures from bigger brands - like Drobo for example I have no trouble with, but I also have a ORICO drive which disconnects if nothing is writing to it for a certain period of time.
Then again, that said I have a Samsung 4Tb spinner that disconnects itself on Windows but works perfectly fine on macOS!! Because that makes sense!
As an Amazon Associate, MacRumors earns a commission from qualifying purchases made through links in this post.