autumncicada
Explore posts from serversIf I'm using createResource, why would I use Suspense?
For example if I have
This doesn't pass typescript type checking because you still need to check if
resource()
is undefined or not, even though Suspense shouldn't render the ResourceRenderer until createResource is finished with its async request?8 replies
Difficulties using Pdfjs-dist with SolidStart
I'm trying to use Pdfjs-dist with SolidStart.
It works in developer mode but when I try to create a production build it fails with the error in the build-err.txt file I've attached.
I've also attached the PdfViewer component code and the route I'm loading the PdfViewer into. I'm already using
unstable_clientOnly
to load in the module.4 replies