Hacker News new | ask | show | jobs
by sbarre 813 days ago
> I wonder how hard it would be to re-create this in Svelte proper

Honest question: why would you?

It feels like a better architecture for each front-end framework to simply compose an existing best-of-breed library like D3 rather than try to replicate it?

1 comments

Agreed, i don't get rewriting a JS library into another JS library, now if your gonna tell me a d3, wasm library or something written in c or rust to improve performance or something with a result, but just rewriting a backend from JS to another JS to be "the svelte way" in the backend seems silly vs just writing a clean svelte wrapper over a JS lib