If you set Lightroom to export .xmp files alongside the photos, you won't risk losing any edits.
Well you won't risk losing the 'appearance' of the last edit you did before saving the .xmp. (And that is only for Adobe programs)
But not everything is written to XMP files. Your full edit history that Lightroom stores won't show in there, and neither will the photo have a connection to any collections where it was placed (Books, Slideshows, Saved Prints), and if you have used Virtual copies, they are lost totally if a photo is removed from a Lr Catalog.
So best Lightroom advice is to regularly backup the Catalog, then you save ALL your work.