In the Statsig React SDK, the useLayer
hook is utilized to obtain a Statsig Experiment, which is represented as a Layer. The allocatedExperimentName
is a property of this Layer object.
The allocatedExperimentName
is set as a hash of various display names for client-sdks. This is an expected behavior and not a bug in the SDK.
It's important to note that you should not need to access any of the properties on the Layer object directly. Instead, you should use the useLayer
and useExperiment
methods. You can refer to the Statsig documentation for more details on how to use these methods.
If you observe any unexpected behavior, it's recommended to review the experiment setup in the Statsig console. If everything appears correct there, the issue could be more technical in nature.