bfanger / svelte-preprocess-react

Seamlessly use React components inside a Svelte app
MIT License
126 stars 6 forks source link

React nothing was returned from render #36

Open drFerg opened 7 months ago

drFerg commented 7 months ago

Hi bfanger!

We recently updated our local version to latest and started hitting this issue when rendering a react component wrapped in a key block. It works on version 0.14 but fails on anything higher.

Screenshot 2024-02-05 at 16 43 07

In our react component we always return something, so I'm not sure it's coming from our code. Let me know if there's anything else I can provide.

Thanks again for this awesome lib! It's been a huge help in our road to svelte :D

bfanger commented 7 months ago

I was not able reproduce the bug locally, could you provide an codesandbox/stackblitz example ? I've created a svelte-preproces-react template as a starting point.