Hi,
I was wondering if there was a creative way to pass additional data down to the resolveData function outside of props.
The use case is that I want the config created by Puck to be useable across pages rather than one-off pages aka use Puck to create a sharable template. To make this happen, the API I need to call inside of resolveData needs to be able to call different parameters depending on the page.
I could grab the the query params at my /edit path from the the URL every time resolveData is called but that's not ideal. I have tried accessing state here but that doesn't work because the function is outside of a component. This is also data that shouldn't be passed via props.
Can anyone thing of a creative way to access this kind of shared data in resolveData?