- Add a server-safe bundle that is automatically resolved when imported in React Server Components, excluding client-only React APIs (#318)
- Add
qualifiedSegmentsprop toOptimizelyProviderfor passing pre-fetched ODP segments, enabling synchronous ODP-based decisions during SSR (#318) - Add
getQualifiedSegmentsutility for fetching ODP audience segments server-side (#318)
- Improve
useExperiment,useFeature, anduseDecisionhooks to compute decisions when config and user context (including segments) are available, without waiting foronReady(#318) - Add comprehensive server-side rendering integration guide covering SSR, SSG, and App Router patterns (#318)
https://github.com/optimizely/react-sdk/releases/tag/3.4.0
Article is closed for comments.