bluefishjs / bluefish-archive

A SolidJS diagramming framework
https://bluefishjs.org
MIT License
75 stars 4 forks source link

"Maximum call stack size exceeded" when using Bluefish with React-Solid Bridge #37

Open joshpoll opened 12 months ago

joshpoll commented 12 months ago

Repro:

https://codesandbox.io/s/reactjs-playground-forked-d3w7f9?file=/src/index.js

We'd like it to be possible to use Bluefish in React via the React-Solid bridge: https://github.com/Sawtaytoes/reactjs-solidjs-bridge

It seems like maybe the way children are handled in either Bluefish or the bridge is causing an infinite loop. The first thing to try is more aggressively caching children on our side, since there are a couple places where children might be getting double-rendered I think...