React hook: returns the UA guess synchronously, then upgrades to the authoritative Rust-side answer once get_platform resolves. Safe to call from any component.
get_platform
React hook: returns the UA guess synchronously, then upgrades to the authoritative Rust-side answer once
get_platformresolves. Safe to call from any component.