Closed thomasballinger closed 3 months ago
Just adding initialData: [] causes a monster error in the example in this repo
initialData: []
function App() { const { data, error, isPending } = useQuery({ // This query updates reactively. ...convexQuery(api.messages.list, {}), initialData: [], });
Looks like the old method-based way still works. I think the standalone function can work, we've just typed it wrong.
fixed in 0.0.0-alpha.4
Just adding
initialData: []
causes a monster error in the example in this repo