If javascript frameworks is patented then yes, you can. For reference ARM big little scheduler is patented[1], you need to license from ARM if you use any of their big little design. RISC-V under BSD license might change this.
1. https://en.wikipedia.org/wiki/Great_Wall_Peri#Fiat_Panda_cop...