useSubscriptions
This page's documentation only applies to Chord's Next.js starter prior to the release of the React SDK. The Next.js starter now uses the React SDK and does not use the methods documented on this page. Check out the React SDK Reference for complete documentation, and the React SDK Migration Guide for details on how to upgrade.
The useSubscriptions hook returns an object representing the current user's subscriptions.
JS
|
The useSubscriptions hook returns an array of subscriptions.