You can manually install @plasmicapp/query
and implement their extractPlasmicQueryData
method.
It could be something like:
// data/data.tsx
export async function extractPlasmicQueryData(
element: React.ReactElement
): Promise<Record<string, any>> {