Naturally being native does not sort out everything if not coded properly.
The difference being that native solutions have better tooling to handle such cases, one just needs to actually learn how to use them.
In a future where Worklets and WebComponents with virtual tables are a standard browser feature, similar approaches can be done in the browser as well.