Skip to content

Nt 2569 include common cases and usages for the react sdk dev harness#242

Merged
Lotfi Anwar L Arif (Lotfi-Arif) merged 7 commits intomainfrom
NT-2569-include-common-cases-and-usages-for-the-react-sdk-dev-harness
Apr 23, 2026
Merged

Nt 2569 include common cases and usages for the react sdk dev harness#242
Lotfi Anwar L Arif (Lotfi-Arif) merged 7 commits intomainfrom
NT-2569-include-common-cases-and-usages-for-the-react-sdk-dev-harness

Conversation

@Lotfi-Arif
Copy link
Copy Markdown
Contributor

@Lotfi-Arif Lotfi Anwar L Arif (Lotfi-Arif) commented Apr 22, 2026

Expanded the React SDK dev harness with section cards for flags/merge tags, interaction tracking, standalone hook rendering, OptimizedEntry variants, entry resolvers, decoupled provider composition (config + sdk prop), useOptimizationContext(), and a lifecycle card (canOptimize + destroy). Also added env var helpers and .env.example.

@akfreas
Copy link
Copy Markdown
Collaborator

One suggestion I can add: you may want to make a 1-shot script that will configure everything and launch the React app, like we have on React Native. This makes it easy for people to get started and check everything out :)

Copy link
Copy Markdown
Collaborator

@akfreas Alex Freas (akfreas) left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@Lotfi-Arif Lotfi Anwar L Arif (Lotfi-Arif) merged commit ee10020 into main Apr 23, 2026
30 checks passed
@Lotfi-Arif Lotfi Anwar L Arif (Lotfi-Arif) deleted the NT-2569-include-common-cases-and-usages-for-the-react-sdk-dev-harness branch April 23, 2026 12:42
Alex Freas (akfreas) pushed a commit that referenced this pull request Apr 23, 2026
…#242)

* feat: update env var handling in dev harness

* feat: add new sections for flags, Lifecycle, tracking

* feat: update app with new sections

* feat: add better handling for destroying the Web SDK instance and
release runtime resources.

* feat: add launch scripts for the react dev harness and ref
implementation

* revert: remove accidental iOS bridge file change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants