Functions
- mapSlots - Recursively map all slots within an item.
- migrate - Migrate a legacy data payload to the latest shape.
- resolveAllData - Utility function to execute all
resolveData
methods on a data payload. - transformProps - Transform component props stored in the data payload. Use this for migrations, like prop renames.
- useGetPuck - A hook for accessing the latest PuckApi outside of the React render lifecycle.
- usePuck - A hook for accessing the PuckApi inside your components.