Thread.Root
<Thread.Root>
is a primitive component that sets up context for other thread
thread components like <Thread.Messages>
, <Thread.MessageForm>
.<Thread>
component:variables
variables
, these things happen:variables
are merged into all child Superinterface query and mutation keys as the
second parameter (e.g. const [keyBase, { threadId }] = queryKey
and
const [keyBase, { threadId }] = mutationKey
). This allows you to use
variables
in all child queryFn
functions.variables
are merged into all child Superinterface mutation variables. This
allows you to use variables
in all child mutationFn
functions.