Closed crummy closed 4 weeks ago
Looking at the stack trace, my guess would be something related to Preact itself. I don't believe Deno can affect the client-side. You can try to bring this to the Preact repo I guess. Happy to accept a PR.
I'm closing this as it's extremely unlikely for me to engage with it, and I don't want to pile up open stuff.
Describe the bug
When React Virtuoso is used in a Fresh project (Deno's web framework), the following error appears during render:
To Reproduce
deno run -A -r https://fresh.deno.dev
to create a Fresh project.islands/Counter.tsx
and the following line in the div:<Virtuoso style={{ height: '400px' }} totalCount={200} itemContent={index => <div>Item {index}</div>} />
deno task start
Expected behavior
The standard Fresh project appears, with a Virtuoso component.
Desktop (please complete the following information):
Additional context
I know this might be a low-priority fix (maybe this bug should be against Fresh or Deno instead?) but wanted to get this documented in case someone else runs up against this in future.