React SDK Reference
The provider and hooks exposed by @getuserfeedback/react for React-based integrations.
- Last reviewed
React SDK Reference
The React SDK wraps the same runtime model in a provider plus hooks.
Public surface
GetUserFeedbackProvideruseGetUserFeedback()useFlow({ flowId, prefetchOnMount?, hideCloseButton?, container? })useDefaultFlowContainer()
How to think about it
GetUserFeedbackProviderowns the client instanceuseGetUserFeedback()gives you the same core methods as the JavaScript SDKuseFlow()is the shortest path to open, prefetch, prerender, and custom container behavior from components
If you already understand the JavaScript SDK, the React layer is mostly a React-native way to access the same runtime.