This example is running in WebGL2 and should work in most browsers. You can check the WebGPU examples here.
parenting.rs:
//! Illustrates how to create parent-child relationships between entities and how parent transforms
//! are propagated to their descendants.
use *;
/// this component indicates what entities should rotate
;
/// rotates the parent, which will result in the child also rotating
/// set up a simple scene with a "parent" cube and a "child" cube