HF RL Explorer

We need to add support for attaching refs to React's <Fragment component. Currently, passing a ref to…

We need to add support for attaching refs to React's <Fragment component. Currently, passing a ref to…: a task in LegoFlow-SWE (Harbor dataset). All of this new behavior must be behind the enableFragmentRefs feature flag. If a ref is used on a <Fragment and the flag is off, React must throw a…

The task

All of this new behavior must be behind the **`enableFragmentRefs`** feature flag. If a ref is used on a `<Fragment>` and the flag is off, React must throw a specific error: > `"Refs cannot be attached to a Fragment unless enableFragmentRefs is enabled."`

Part of Lego-X/LegoFlow-SWE.