Closed pr0da closed 3 years ago
The userIdentifier prop should not cause infinite render loop, when used on the client side.
userIdentifier
When the userIdentifier prop is present, it causes infinite render loop.
https://codesandbox.io/s/white-firefly-o3bqr
Trigger a re-render with the button.
im also seeing this issue. I made a pr that should address it.
This should be fixed in v3.0.1.
v3.0.1
Still having this issue, happens when trying to switch between variants locally if there is any userIdentifier set.
Tried with 3.0.1 and 3.1.0
Table of Contents
Expected Behavior
The
userIdentifier
prop should not cause infinite render loop, when used on the client side.Current Behavior
When the
userIdentifier
prop is present, it causes infinite render loop.Possible Solution
Steps to Reproduce (for bugs)
https://codesandbox.io/s/white-firefly-o3bqr
Trigger a re-render with the button.
Context
Your Environment