Now RAM use is the main reason to prefer native APIs over web views.
I am currently working on something I call HTMXNative, which is what it sounds like: using HTMX in WebViews for hybrid apps.
I haven't really looked much at memory consumption, but when I've looked so far it's been very comparable to equivalent apps using native UI.
If you run gargantuan layers of JS frameworks in a WebView it will perform just as badly as a full browser. After all, a browser is (more or less) just a process wrapped around a WebView.
Predicting a surge in RAM supply after a surge in RAM demand and a huge increase in RAM margins is economics 101.
The open question in my mind is for how long semiconductor demand will continue to grow faster than we can increase production capacity.