statsig-io / react-sdk

An SDK for using Statsig Feature Management and Experimentation platform in React js clients
ISC License
6 stars 6 forks source link

Unhandled Runtime Error TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node'. #16

Closed naknode closed 10 months ago

naknode commented 10 months ago

I wrap my provider, along with other providers, and it says that the <StatstigProvider> needs a user object when I thought it didn't?

<StatsigProvider
  sdkKey="client-1.........xxa23"
  user={{ userID: '' }}
  waitForInitialization={true}
>

Where do I get the user ID?

React version: 18.2.0