In short: WannaCry should work "properly" on ReactOS in that it will use the crypto APIs to encrypt all of the user's files. It shouldn't propagate itself through the same remote network vulnerability that affected Windows.
The difference here is documented/support APIs vs other code paths.
This is true so long as the 'application' is using the normal APIs, as soon as an application depends on out-of-contract 'implementation details', which the bugs that are utilized by worms definitely are..., all bets are off.
In short ReactOS is more and more likely to implement the API needed by an app, but that doesn't mean it implements the out-of-API defects that malware depends on. Like anyway software, it probably as its own defects.
Which is why I said an email attachment. The average virus relying on user interaction doesn't need bugs.
I have been curious: if ReactOS aims to be binary compatible with windows, does this mean it succeptible to windows malware infections? I understand that despite having a similar API, the ReactOS implementation different from microsoft's implementation, so a vulnerability on Windows won't necessarily be present in ReactOS, but let's say a user infects themselves through a malicious word doc macro that downloads a windows malware exe or dll, can that still cause harm to a reactOS system? Or is some sort of sandbox in place to prevent such attacks?