Compose with providers and hooks
Use public subpaths when the default panel does not fit the host product.
Tip
Help me follow the Compose with providers and hooks guide. Use public subpaths when the default panel does not fit the host product. Review the current project and turn this guidance into concrete next steps.
Public subpaths
| import | Purpose |
|---|---|
| @fivepixels-js/react | FivePixels, types, utilities |
| @fivepixels-js/react/report | Provider, hooks, custom composition |
| @fivepixels-js/react/demo | Demo runtime |
Hook partitions
| Hook | Purpose |
|---|---|
| useReport() | Full backward-compatible API |
| useReportPreferences() | appearance, locale, role, messages |
| useReportSession() | mode, draft, markers, composers |
| useReportData() | lists, filters, CRUD, stats, replies |