Dog
Anyone using solid-social with solid-markdown?
I'm trying to figure out how to get solid-social to work with solid-markdown, if anyone is using both and could help it'd be much appreciated.
I have tried:
markdown containing:
The title converts from markdown to html fine
69 replies
createInfiniteScroll from @solid-primitives/pagination with createServerData$ and useRouteData
I'm trying to figure out how to get createInfiniteScroll from @solid-primitives/pagination to work with createServerData$ and useRouteData
I believe createInfiniteScroll expects a fetcher function that returns a Promise<T[]> per the definition https://github.com/solidjs-community/solid-primitives/tree/main/packages/pagination#definition
But I think createServerData$ is like createResource in that it takes an asynchronous fetcher function and returns a signal that is updated with the resulting data when the fetcher completes.
I'm currently trying something like this for createServerData$:
when returning pages() from that I'm getting the errors:
unsupported type
content is not iterable
And trying this for createServerData$ and useRouteData:
when returning pages() from that I'm getting the error:
An error occured while server rendering /pagination:
renderToString timed out
22 replies