Live data from Hacker News

React Flow, open source libraries for node-based UIs with React or Svelte

github.com

21–30 of 32 posts

Re: React Flow, open source libraries for node-based UIs with React or Svelte

#23
post #9
post #6

Great library. Just memo your custom nodes properly - edge re-renders cascade faster than you'd expect.

Obligatory Fireship video: https://www.youtube.com/watch?v=yl0YWA2K2B0&t=40

It's quite impressive how many layers of oopsies there are in the React api now.

The curse of being successful as a software project: more people want more from you, but you are not allowed to actually remove cruft, because too many people depend on it.

19: 193 kB -> 60.3 kB (gzip) https://bundlejs.com/?q=react%4019.2.0%2Creact%4019.2.0%2Cre...

18: 142 kB -> 45.6 kB (gzip) https://bundlejs.com/?q=react%4018.3.1%2Creact%4018.3.1%2Cre...

Re: React Flow, open source libraries for node-based UIs with React or Svelte

#24

Does React Flow still advertise itself unless you pay the developers at least $169/month?

You can programmatically remove the watermark, either via a flag or by changing the source code. > [1] No, you can do whatever you want with it since it’s MIT But if you use it in a commercial project, they'll likely shame you if you don't pay - like what happened to OpenAI with Agent Builder: > [2] Hey @OpenAI :) We just saw that you are using our open source library React Flow We offer startup discount codes :) Let…

Agree, if they're going to guilt shame companies publicly and be defensive in replies, just dual license it. Not a great look.

Re: React Flow, open source libraries for node-based UIs with React or Svelte

#29
post #23
post #9

Earlier quoted context omitted.

Obligatory Fireship video: https://www.youtube.com/watch?v=yl0YWA2K2B0&t=40

It's quite impressive how many layers of oopsies there are in the React api now. The curse of being successful as a software project: more people want more from you, but you are not allowed to actually remove cruft, because too many people depend on it. 19: 193 kB -> 60.3 kB (gzip) https://bundlejs.com/?q=react%4019.2.0%2Creact%4019.2.0%2Cre... 18: 142 kB -> 45.6 kB (gzip) https://bundlejs.com/?q=react%4018.3.1%2Crea…

The entire concept of mitigating un-intended re-rendering by wrapping your bad abstractions in more abstractions is not a category of problem for Svelte devs nor is it inherent to the platform like some inevitably of scale.

React is bad because its foundation is a bad abstraction (v-dom) and it’s spent over decade pilling on more leaky abstractions every year, leading to where we are now — clamoring over a mountain of footguns and indirection.

Re: React Flow, open source libraries for node-based UIs with React or Svelte

#30
post #29
post #23

Earlier quoted context omitted.

It's quite impressive how many layers of oopsies there are in the React api now. The curse of being successful as a software project: more people want more from you, but you are not allowed to actually remove cruft, because too many people depend on it. 19: 193 kB -> 60.3 kB (gzip) https://bundlejs.com/?q=react%4019.2.0%2Creact%4019.2.0%2Cre... 18: 142 kB -> 45.6 kB (gzip) https://bundlejs.com/?q=react%4018.3.1%2Crea…

The entire concept of mitigating un-intended re-rendering by wrapping your bad abstractions in more abstractions is not a category of problem for Svelte devs nor is it inherent to the platform like some inevitably of scale. React is bad because its foundation is a bad abstraction (v-dom) and it’s spent over decade pilling on more leaky abstractions every year, leading to where we are now — clamoring over a mountain o…

Yes. VDOM is immediate mode. DOM is retained mode. Building immediate mode on top of retained mode is cursed.
Post reply on HN