Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: export useOpenFeatureClientStatus hook #1082

Merged
merged 10 commits into from
Jan 28, 2025

Conversation

wichopy
Copy link
Member

@wichopy wichopy commented Nov 10, 2024

This PR

exposes the internal open feature client status hook so developers can act on non-ready resolved states

Related Issues

Fixes #1036

Notes

Follow-up Tasks

How to test

@wichopy wichopy force-pushed the issue-1036 branch 2 times, most recently from 8172213 to f1ff607 Compare November 10, 2024 13:33
@wichopy wichopy changed the title export use open feature client status with suspense support feat: export use-open-feature-client-status with suspense support Nov 10, 2024
@toddbaert
Copy link
Member

toddbaert commented Dec 17, 2024

@wichopy Sorry for the delay - KubeCon really slowed things down for us, still playing some catch-up!

I still think this is valuable, and I think you're on the right track. I left some thoughts.

We also need some tests (probably very similar to the other tests involving hooks and suspense).

wichopy and others added 3 commits December 31, 2024 11:31
Signed-off-by: William Chou <iam@willchou.dev>
Signed-off-by: Will Chou <w.chou06@gmail.com>
Signed-off-by: William Chou <iam@willchou.dev>
Signed-off-by: Will Chou <w.chou06@gmail.com>
Signed-off-by: Will Chou <w.chou06@gmail.com>
Signed-off-by: Will Chou <w.chou06@gmail.com>
Signed-off-by: Will Chou <w.chou06@gmail.com>
@wichopy wichopy marked this pull request as ready for review December 31, 2024 16:35
@wichopy wichopy requested a review from a team as a code owner December 31, 2024 16:35

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Signed-off-by: Will Chou <w.chou06@gmail.com>
@beeme1mr beeme1mr changed the title feat: export use-open-feature-client-status with suspense support feat: export useOpenFeatureClientStatus hook Jan 2, 2025
comments
Signed-off-by: Will Chou <w.chou06@gmail.com>
Signed-off-by: Will Chou <w.chou06@gmail.com>

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@wichopy
Copy link
Member Author

wichopy commented Jan 25, 2025

@toddbaert shall we merge?

@beeme1mr beeme1mr added this pull request to the merge queue Jan 28, 2025
Merged via the queue into open-feature:main with commit 4a6b860 Jan 28, 2025
9 checks passed
github-merge-queue bot pushed a commit that referenced this pull request Feb 7, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
🤖 I have created a release *beep* *boop*
---


##
[0.4.11](react-sdk-v0.4.10...react-sdk-v0.4.11)
(2025-02-07)


### ✨ New Features

* export useOpenFeatureClientStatus hook
([#1082](#1082))
([4a6b860](4a6b860))


### 🧹 Chore

* update sdk peer
([#1142](#1142))
([8bb6206](8bb6206))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Signed-off-by: OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>
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.

[FEATURE] export useOpenFeatureClientStatus
5 participants