News for hackers. Stuff that matters.
Re:Thoughts on Svelte by vaughan on Monday March 27, 2023 @08:19AM (#35325705)
I wonder if this is a visualization problem. Imagine if you could see the dependency graph visually.
Re:Thoughts on Svelte by jazzypants on Monday March 27, 2023 @10:35AM (#35327183)
In my opinion, this is yet another area where SolidJS is clearly the better option.

The dev tools give you a full visual reactive graph.

I like Svelte, but people like to pretend that it's easier than it is.

Re:Thoughts on Svelte by mekeor on Monday March 27, 2023 @10:45AM (#35327332)
which solid-dev-tool shows are graph?
Re:Thoughts on Svelte by jazzypants on Monday March 27, 2023 @10:49AM (#35327401)
I wasn't aware there were multiple. This one has Ryan Carniato's seal of approval. He talks about it on stream often.

Here you go: https://github.com/thetarnav/solid-devtools

Re:Thoughts on Svelte by h4ch1 on Monday March 27, 2023 @10:47AM (#35327372)
I think this is what you're talking about ? https://chrome.google.com/webstore/detail/solid-devtools/kmc...
Re:Thoughts on Svelte by jazzypants on Monday March 27, 2023 @10:51AM (#35327433)
Yep, that's it. It's in early development, and you have to install an additional library. But, it works wonderfully.
Re:Thoughts on Svelte by dmix on Monday March 27, 2023 @11:56AM (#35328303)
Is there something similar for Vue?
Re:Thoughts on Svelte by rk06 on Monday March 27, 2023 @02:04PM (#35330073)
I don’t think vue devtools have this capability. But if you are facing issues with large Vue components, then you should split it into smaller components. And use composables(vue hooks) to split js logic. That will get you quite far
Re:Thoughts on Svelte by vaughan on Monday March 27, 2023 @12:52PM (#35329034)
> full visual reactive graph

Is there actually a graph view? Or is it only the graph as a tree? I couldn't see it in the demo.