For folks who have used this, why would you choose this instead of SVG inside React, Svelte, etc?
Konva.js - Declarative 2D Canvas for React, Vue, and Svelte
11–20 of 76 posts
Re: Konva.js - Declarative 2D Canvas for React, Vue, and Svelte
#12Re: Konva.js - Declarative 2D Canvas for React, Vue, and Svelte
#13Re: Konva.js - Declarative 2D Canvas for React, Vue, and Svelte
#14Kinetic was amazing back in it's day, but lacked SVG export. I wonder if that's built-in now
Re: Konva.js - Declarative 2D Canvas for React, Vue, and Svelte
#15Is this a community-driven project, or is there a company behind the project?
Recently, I started to use a bit of my company resources to improve the konva project. Currently, I am playing with AI tools for docs, so I have to pay for API usage.
Re: Konva.js - Declarative 2D Canvas for React, Vue, and Svelte
#16Is this the successor library for KineticJS and ConcreteJS? Kinetic was amazing back in it's day, but lacked SVG export. I wonder if that's built-in now
Re: Konva.js - Declarative 2D Canvas for React, Vue, and Svelte
#17For folks who have used this, why would you choose this instead of SVG inside React, Svelte, etc?
As a sibling comment noted, number of elements can be a big performance drag, since they all add weight in the DOM. Other considerations are animations- it's been a few years, but I recall a number of animations in SVG that would utterly destroy browser performance (I think it was animating a stroke with CSS but I could be wrong here).
There's a sibling trend of animation editors exporting to wasm/canvas as well; see for example Lottie and Rive.
Having settled on SVG vs canvas, and presuming you chose canvas, if you're already in react / svelte / etc, this library gives you a way to do so that fits in with what you're already doing.
Re: Konva.js - Declarative 2D Canvas for React, Vue, and Svelte
#18Re: Konva.js - Declarative 2D Canvas for React, Vue, and Svelte
#19Is this the successor library for KineticJS and ConcreteJS? Kinetic was amazing back in it's day, but lacked SVG export. I wonder if that's built-in now