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

Method render

examples/lit/basic/src/lifecycle-contract.ts:190–218  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

188 }
189
190 render() {
191 return html`
192 <main>
193 <h1>Lifecycle Contract Fixture</h1>
194 <p>
195 Exercises the same consumer across missing-provider and provider
196 switching flows.
197 </p>
198 <div data-testid="contract-location">
199 location: ${this.currentTarget}
200 </div>
201
202 <section>
203 <h2>Orphan Zone</h2>
204 <div data-contract-slot="orphan"></div>
205 </section>
206
207 <section>
208 <h2>Provider A</h2>
209 <contract-provider-a></contract-provider-a>
210 </section>
211
212 <section>
213 <h2>Provider B</h2>
214 <contract-provider-b></contract-provider-b>
215 </section>
216 </main>
217 `
218 }
219}
220
221if (!customElements.get('lifecycle-contract-root')) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected