MCPcopy Create free account
hub / github.com/TanStack/query / render

Method render

examples/lit/optimistic-updates/src/main.ts:26–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 }
25
26 render() {
27 return html`
28 <optimistic-updates-query-provider>
29 <main style="max-width: 600px; margin: 0 auto; padding: 2rem 1rem">
30 <h1>Optimistic Updates with TanStack Query</h1>
31 <p style="color: #666; margin-bottom: 1.5rem">
32 Add todos to see optimistic updates in action. The server randomly
33 fails ~30% of the time so you can observe automatic rollback.
34 </p>
35 <approach-tabs></approach-tabs>
36 </main>
37 </optimistic-updates-query-provider>
38 `
39 }
40}
41
42customElements.define(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected