Why would you immediately have to recall your software? Facebook would have to have counter sued you for some hypothetical patent they have for React first and “recall all your software” would have had to be the court ordered remedy.
True, they would have to counter-sue but you don't think they would in that situation? Technically your license is invalid and if you have _shipped_ software to customers that is violating the license is it not?
Suing Facebook does not invalidate your license to use their software and source code. The BSD license still applies after you sue Facebook. It can’t be taken away.