For RAW files you ca set Lightroom to use side files (XMP) to store the edits.
Edit->Catalog Settings->Metadata and select "Automatically write changes into XMP"
Then you need to transfer those XMP files to Computer B in the same directories where are corresponding RAW file.
Unfortunately this work for all RAW files but not for DNG. Also it ...