This is the direction React Native is heading, with Fabric Native Components[1] and Turbo Native Modules[2]. On the development side, you have JavaScript, the language we all love to hate and hate to love, with its vast ecosystem of readily available libraries that are well-documented and used daily by billions of people. On the functionality side, you have access to native code, which speeds up and lightens the workload, making the app performant.
Indeed back in the dotcom wave, the startup I joined was making our own flavour of AOLServer.
Now in some projects, I am basically doing the same, with the difference that now I am using JavaScript instead of Tcl, and C++ instead of C for the native side.