1. filing a patent infringement against Facebook (for anything, related or unrelated to React)
2. filing a patent infringement counterclaim against Facebook for patents related to React (after Facebook have first filed a patent infringement claim against you for patents on anything)
3. filing a patent infringement against anyone for patents related to React
> if Facebook infringes on patents you own you can't take action against them if you are using React.
You can take action against them, you just don't have a patent grant once you do.
Which opens you up to being countered-sued right? It seems that this leaves Facebook to freely infringe on any patents of React users without consequence.
Also, patent lawsuits are costly. If you're going to start one against Facebook the cost of switching away from React first would be negligible.