You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, when I use OptimizelyProvider in a typescript file, it shows the error below. Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<OptimizelyProvider> & Readonly<OptimizelyProviderProps>'.
The text was updated successfully, but these errors were encountered:
NinaFan0824
changed the title
OptimizelyProvider cannot wrap component
OptimizelyProviderProps has no children props
Jun 9, 2022
Hi there, I see a similar issue #156 and I see the PR to add children prop. However, I couldn't find this prop in OptimizelyProviderProps interface. And I'm sure I download the latest version "@optimizely/react-sdk": "^2.8.1",
Hi @NinaFan0824 - thanks for raising this issue!
Currently, v2.8.1 of the Optimizely React SDK does not support React 18.
We do have a fix in place that is unreleased and will be aiming to release a new version of the Optimizely React SDK with that fix for React 18 support sometime this week!
Uh oh!
There was an error while loading. Please reload this page.
Hi there, when I use OptimizelyProvider in a typescript file, it shows the error below.
Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<OptimizelyProvider> & Readonly<OptimizelyProviderProps>'.
The text was updated successfully, but these errors were encountered: