Magic Mouse disconnects macOS Mojave (MacBook Pro 2018)
Updating Xcode has limited the disconnects from the keyboard and Magic Mouse (still not perfect but much better).

To update Xcode, open your Terminal and enter xcode-select --install. 
You may have to delete the old version of Xcode before installing the latest Xcode. Make sure to also install the command line developer tools.