Earlier quoted context omitted.
Vue would be great but preact seems to be a viable option too. Even riot could ..
As other commenters have mentioned - if your project violates React patents, and you switch to Preact, it almost certainly continues to violate those same patents.
This could "violate a react patent" according to you:
const Test = () => createElement("div", null, "hello word")
No one has ever seen nor referenced a patent for this, but if we're really at that point then i'm afraid everything would violate such a patent.