()
| 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 | |
| 42 | customElements.define( |
nothing calls this directly
no outgoing calls
no test coverage detected