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...
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.
Lots of updates this year to reach parity with React Flow.
> [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 us know if you are interested
Personally, I’d prefer them to use a dual license, but I understand that it would likely create unnecessary hurdles for devs who just want to try out the library.
They explained their reasoning here: https://xyflow.com/blog/asking-for-money-for-open-source
I love the flexibility and the fact that there's a variety of examples for basically anything I want to accomplish with it. Great work to the team.
It's very convenient how you create the graph, with nodes just being Svelte components. Adding custom edges isn't very hard either.
If you're curious what you can do with it, I made this demo for myself https://youtu.be/aVY7ySPiSo8 (never launched it). I used Svelte Flow to visualize AI doing research, my first project using LLMs.
https://www.design2dev.com/work/agentic-ai-canvases/
Contact me for UX consulting if you need it -;) artur at design2dev.com
wallzero•3mo ago
I've worked on a few prototype react directed acyclical diagram libraries. jsplumb-react, react-yad, and recently @lincle.
@lincle is my most recent and first attempt at supporting react-native. I tried leveraging existing interactive libraries. I was also inspired by react-flow's minimap. It is still a prototype and needs documentation but works well. I'm realizing now the demo isn't working but the demo source should hopefully give an example of how to use it.
https://gitlab.com/digested/lincle
tcoff91•3mo ago