Gabriel JUCHAULT

Results 71 comments of Gabriel JUCHAULT

Hello! Optional chaining is supported as of Node.JS 14 which is LTS ([MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining#browser_compatibility)). Why would I lower the target?

@jamescodesthings @rguikers I'm opened to PRs, as I won't have time to do it myself :/

Well, if you try to make a function cloneNode who copies all the children (with outerHTML or browser cloneNode), you'll see that thoses ways don't clone events. I tried bean.copy...

I tried bean.clone, but it didn't work, and i don't have enough time to debug sorry :/

To fix the bug, i had to do like that : -> make the slider an input -> set the type to "slider" -> add a value (even 0 or...

Adding a `console.trace` into `scheduledPassiveEffects` give the following: (NODE_ENV=production) ``` Trace: function () { [native code] } at runningEffects (/Users/user/project/node_modules/react-blessed/src/fiber/fiber.js:213:7) at /Users/user/project/node_modules/react-reconciler/cjs/react-reconciler.production.min.js:132:384 at Object.exports.unstable_runWithPriority (/Users/user/project/node_modules/scheduler/cjs/scheduler.production.min.js:18:163) at Ze (/Users/user/project/node_modules/react-reconciler/cjs/react-reconciler.production.min.js:132:315) at /Users/user/project/node_modules/react-reconciler/cjs/react-reconciler.production.min.js:156:268...

@Yomguithereal Some do, some don't. It seems somehow unrelated. You can find the code [here](https://github.com/gjuchault/kitermatic/) (all three `useEffect` cause the error)

Note: this also impacts when you use `someArray.map(item => ForceGraphNode)` Something like : ```jsx {this.props.nodes.map((node, i) => ( ))} {this.props.links.map((link, i) => ( ))} ``` Edit: as data comes from...

Are you sure that you put `ref={(el) => this.fg = el}` on the `ForceGraph` node so that `this.fg` is defined ?

@jkolbe Are you using the `ForceGraph` element ? Maybe you should ask that somewhere else as this issue is not about my temporary fix :p