()
| 3 | import { UserInfo } from '~/components/user-info' |
| 4 | |
| 5 | export default function Streamed() { |
| 6 | return ( |
| 7 | <main> |
| 8 | <Title>Solid Query - Errors</Title> |
| 9 | |
| 10 | <h1>Solid Query - Errors</h1> |
| 11 | |
| 12 | <div class="description"> |
| 13 | <p> |
| 14 | For more control over error handling, try leveraging the `Switch` |
| 15 | component and watching the reactive `query.isError` property. See |
| 16 | `components/query-boundary.tsx` for one possible approach. |
| 17 | </p> |
| 18 | </div> |
| 19 | |
| 20 | <UserInfo sleep={10} deferStream simulateError /> |
| 21 | |
| 22 | <PostViewer sleep={3000} deferStream simulateError /> |
| 23 | </main> |
| 24 | ) |
| 25 | } |
nothing calls this directly
no outgoing calls
no test coverage detected