Open History to see the last commit
1import { Title } from '@solidjs/meta'
2import { PostViewer } from '~/components/post-viewer'
3import { UserInfo } from '~/components/user-info'
4β
5export 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 `compoennts/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}