CSS in JS was such a dumb mistake. This really shouldn’t be a serious consideration in 2023.
The right solution is a library like this with proper cross-platform abstraction. Then you can simply compile css-in-js to stylesheets to have caching, therefore fully utilizing platforms capabilities.
Who cares whether css is written in css files or js files or whatever. Abstraction + solid tooling (compilation) + ide support is the way.