I did not know any framework. My only criteria was that it can be placed in a single html file to solve the hassle of loading external js.
I built something in vue that failed to compile to a single file.
When I duplicated it in react it worked.
It's more of a gulp/webpack issue than a framework issue.