resolveAllData has deprecated APIs
Description
The resolveAllData function includes APIs that were previously used to manage component load state internally. These APIs weren't intended to be exposed, but they ended up being included in the exported functions.
Loading states are now handled differently and these APIs are no longer used internally. However, since they're publicly available, users have started relying on them to track when each node is resolving in the tree while executing resolveAllData.
Since they weren't originally meant to be exposed, they are currently undocumented. We should document them to better support their usage and maintenance.
I'm wondering if resolveAllData will be deprecated in major or minor version. Now the document explains it.
https://puckeditor.com/docs/api-reference/functions/resolve-all-data
actually i'm using this api for excuting all resolveData at once.
Hey @ojj1123! No, it won't be deprecated. It's a very important part of the Puck API for React Server Components and overall usage. This refers to some parameters that resolveAllData is receiving but aren't documented (onResolveStart and onResolveEnd). You're most likely not using them.
We should probably mark onResolveStart and onResolveEnd as deprecated to give people time to migrate before removing them.
@FedericoBonel we're keeping these APIs. Please update this to a documentation ticket.