Of course, all free software licenses involve some exchange of freedoms: You give up your ability to publish closed-source modifications of the software in exchange for being able to use and modify it at all. The question is whether the freedoms you are asked to give up are reasonable in exchange for what you gain. A patent grant that restricts your freedom to launch patent infringement litigation against other users of the software seem reasonable to me. Whereas a grant that is invalidated simply by alleging, through any action, that any of the original author's patents are invalid, does not.
They can 'come after you' iff you have accused them of that, and you are using their software in such a way that a parent of theirs is violated.
It's pretty straightforward:
- Facebook has released some open source software. In the case of React, it's under the BSD license.
- You can use this software however you want, in accordance with the license.
- In addition to granting you a license to use the software, Facebook has granted you a license to any patents they own that cover the software.
- There is no enumeration or claim that any patents do cover the software.
- Your license to use any hypothetical patent that does cover the software will be revoked if you make a claim—legal or otherwise—that Facebook has infringed any patent.
- At that point, you will no longer have a license to use any patent that covers the software.
- If you are subsequently using the software in a way that infringes one of their patents, Facebook would legitimately be able to claim patent infringement.
This is not correct — your license to use any patent of Facebook's that covers the software is revoked. You are still not infringing copyright on the software by using it, but you will no longer be protected by Facebook's patent grant, which is in addition to your license to use the software.
This is a boilerplate patent grant, and it doesn't mean that Facebook holds any patents on e.g. React.
To be clear, this parent grant is in addition to your license to use the software and as a result does not restrict your freedom in any way, versus the license not being granted at all.