File size: 709 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
import { Title } from '@solidjs/meta'
import { PostViewer } from '~/components/post-viewer'
import { UserInfo } from '~/components/user-info'
export default function Streamed() {
return (
<main>
<Title>Solid Query - Errors</Title>
<h1>Solid Query - Errors</h1>
<div class="description">
<p>
For more control over error handling, try leveraging the `Switch`
component and watching the reactive `query.isError` property. See
`compoennts/query-boundary.tsx` for one possible approach.
</p>
</div>
<UserInfo sleep={10} deferStream simulateError />
<PostViewer sleep={3000} deferStream simulateError />
</main>
)
}
|