justin
justin
CCConvex Community
Created by justin on 8/21/2024 in #support-community
ConvexReactClient query() return type?
The docstring (and the type annotation) says the return of query() should be a Promise of the result, but if there's an existing result, it gets returned directly without being wrapped in a promise. Is this a bug? https://github.com/get-convex/convex-js/blob/main/src/react/client.ts#L459
2 replies
CCConvex Community
Created by justin on 4/11/2024 in #support-community
File previews/image thumbnailing
Unclear if this is a feature request, seeking advice, or a free startup idea, but... it'd be cool to have an endpoint that serves cached auto-generated previews of files in Convex storage, especially images. I think this might be a rather common, yet labor-intensive to do well, need. Maybe the simplest way to implement this would be as an HTTP action, with an associated table to keep track of the generated previews? Could become a new helper in convex-helpers ?
5 replies