---
title: "Comment by Rafal on \"You Don't Need to \"Learn\" Svelte\" | Hashnode"
description: "Your React vs Svelte example (this with Chart.js library usage) is not fair. It is something you would say: how to make it wrong in React and how to make it rig"
url: "https://hashnode.com/posts/you-dont-need-to-learn-svelte/64f5e06cd0856ff8ddd86d31/comment/64fda3fa53e92fc33911094b"
---

[Discussion](https://hashnode.com/posts/you-dont-need-to-learn-svelte/64f5e06cd0856ff8ddd86d31)

Comment [You Don't Need to "Learn" Svelte](https://hashnode.com/posts/you-dont-need-to-learn-svelte/64f5e06cd0856ff8ddd86d31)

[Rafal](https://hashnode.com/@Syriusz)

[Sep 10, 2023](https://hashnode.com/posts/you-dont-need-to-learn-svelte/64f5e06cd0856ff8ddd86d31/comment/64fda3fa53e92fc33911094b)

Your React vs Svelte example (this with Chart.js library usage) is not fair. It is something you would say: how to make it wrong in React and how to make it right in Svelte. There is another option: how to make it right in React - and it would be using useRef hook. In that case React example would be almost indentical to Svelte code with just some minor syntactic differences.

[José Pablo Ramírez Vargas](https://hashnode.com/@webJose)

[Oct 3, 2023](https://hashnode.com/posts/you-dont-need-to-learn-svelte/64f5e06cd0856ff8ddd86d31/comment/64fda3fa53e92fc33911094b#reply-651babc36b3bc78129073691)

While that may be true, one particular pain point is not going to save React from damnation. Quickly summarizing: Svelte performs faster with less RAM consumption, has first class support for accessibility, scoped classes, stores and animation, provides up to 40% codebase reduction when compared to ReactJS, and to top all that, Svelte 5 will be performing even faster and bringing true fine-grained reactivity.

With that impressive list, do you think it is worthwhile pointing out that React can do ChartJS the same as Svelte? It doesn't change a single thing in the big panorama of things.
