React Integration in axelor framework

Hello, i’m trying to include react library in the webapp/lib folder in the axelor framework/platform code. i started with two js files from the following cdns: https://unpkg.com/react@17.0.2/umd/react.development.js and https://unpkg.com/react-dom@17.0.2/umd/react-dom.development.js. next i added these lines //= lib/react/react.development.js //= lib/react/react-dom.development.js to application.js. I rebuilt the project and published to local maven. But i can’t seem to be able to use the library in the axelor app even though it reads from local maven. here is what i tried:
TestingReact.js:

index.html:
image

i tried these scripts as well:
image

i also tried this:
image

Is this the right way to do the integration? if no then how can i do it? if yes then why isn’t it working?
Thank you