Functions
- 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.
- walkTree - Walk the tree recursively, modifying it if necessary.