feat(react-sdk): add onFeaturesUpdated prop and useClient hook#329
feat(react-sdk): add onFeaturesUpdated prop and useClient hook#329pavkam merged 3 commits intobrowser-react-3.0.alphafrom
Conversation
- Introduce `onFeaturesUpdated` callback in BucketProvider to allow custom handling of feature updates - Add new `useClient()` hook to access the BucketClient directly - Refactor hooks to use `useClient()` for simplified client access - Update README with documentation for new features
|
I don't particularly like exposing |
…re update handling - Remove `onFeaturesUpdated` callback from BucketProvider - Simplify feature update event listener to directly set raw features - Expose `Feature` type for external use - Add `useClient()` hook test to ensure proper functionality
removed the callback. Give it a 👍🏽 when you can |
onFeaturesUpdatedcallback in BucketProvider to allow custom handling of feature updatesuseClient()hook to access the BucketClient directlyuseClient()for simplified client access