Federico Bonel Tozzi
Federico Bonel Tozzi
## Description Currently, using the `as` slot render prop to provide your own components or elements for slots does not support passing down additional props. While that might be fine...
Closes #1442 ## Description This PR fixes a performance issue where components re-rendered when hovered over in the canvas. ## Changes made - The `renderPreview` function in `DropZoneChild` was moved...
Closes #1439 ## Description This PR fixes a type issue where refs were not accepted in Slot render functions or DropZones, which did not match internal or documented behavior. ##...
## Description If we use slots to nest components, whenever a slot or its nested content is hovered, the entire tree re-renders. This happens because the componentโs render function is...
## Description When using inline mode in components in the Puck canary and pass the `dragRef` to a slot render function, Puck throws an error. This does not happen in...
## Description There is currently a way to pass a `ref` to slots, and this is also [documented](https://puckeditor.com/docs/api-reference/fields/slot#ref). However, the TypeScript `Slot` props type doesn't accept this prop and throws...
## Description Updating a component's prop that uses a slot with multiple nested components causes severe lag in the editor. This is reproducible in the demo. ## Environment - Puck...
Closes #1249 ## Description This PR adds two new functions to the Puck API to run component resolve data on demand and handle all internal state (showing loaders, checking cache,...
Closes #1359. This PR adds parent data to `resolveData`, matching the behavior of `resolveFields` as required in #1359. ## Changes made - The `resolveData` config type now includes a `parent`....
## Description Array fields currently assume that any fields inside each item will be visible. However, when using only slots nested inside array fields, or [invisible fields](https://puckeditor.com/docs/api-reference/fields/base#visible), nothing is actually...