Kevin07
Kevin07
CCConvex Community
Created by Ammar AF on 4/30/2025 in #general
hi, i’m new here, i just found out that
Data placement & sovereignty is on their radar! https://x.com/jamwt/status/1915809384686612833
2 replies
CCConvex Community
Created by RadiantFrog on 4/6/2025 in #support-community
Local-first sync with Convex
Last update I'm aware of was that the convex team has a working version, however they'd like to rework it to bring the DX up to the industry leading standard the rest of their product is 💪
5 replies
CCConvex Community
Created by David Alonso on 3/31/2025 in #support-community
Convex Storage Triggers
I haven't seen any examples of triggers used directly on storage items. But I have used triggers on database records that reference the storage id. Works nicely!
3 replies
CCConvex Community
Created by dengor on 3/26/2025 in #support-community
Can't start a local deployment
Hey are you currently using Node v18? I ran into the same issues with no logs, and switching to that helped!
5 replies
CCConvex Community
Created by faraway9911 on 2/9/2025 in #general
hey how do i execute a mutation? i'm
From the repo Running a mutation looks like
<script>
const client = useConvexClient();

let toSend = $state('');
let author = $state('me');

function onSubmit(e: SubmitEvent) {
const data = Object.fromEntries(new FormData(e.target as HTMLFormElement).entries());
client.mutation(api.messages.send, {
author: data.author as string,
body: data.body as string
});
}
</script>

<form on:submit|preventDefault={onSubmit}>
<input type="text" id="author" name="author" />
<input type="text" id="body" name="body" bind:value={toSend} />
<button type="submit" disabled={!toSend}>Send</button>
</form>
<script>
const client = useConvexClient();

let toSend = $state('');
let author = $state('me');

function onSubmit(e: SubmitEvent) {
const data = Object.fromEntries(new FormData(e.target as HTMLFormElement).entries());
client.mutation(api.messages.send, {
author: data.author as string,
body: data.body as string
});
}
</script>

<form on:submit|preventDefault={onSubmit}>
<input type="text" id="author" name="author" />
<input type="text" id="body" name="body" bind:value={toSend} />
<button type="submit" disabled={!toSend}>Send</button>
</form>
1 replies