Description
Describe the bug
When I bootstrap the JS SDK client with flags hydrated from SSR and include my user context, I still see a warning log printed to the dev console that reads:
[LaunchDarkly] Be sure to call identify in the LaunchDarkly client: https://docs.launchdarkly.com/sdk/features/identify#javascript
I don't expect to have to call identify
here as I've already established my context for the session.
To reproduce
- Initialize the client with a context and
{ bootstrap: flags }
option - Call
variation
with that client
Expected behavior
I would expect no warning logs if the context was set during client initialization
[LaunchDarkly] Be sure to call identify in the LaunchDarkly client: https://docs.launchdarkly.com/sdk/features/identify#javascript
SDK version
"launchdarkly-js-client-sdk": "^3.1.3"
OS/platform
MacOS Monterey 12.6.2, Google Chrome 112.0.5615.137