Re:Everything about Google Translate crashing React (and oth...
by mentalgear on Friday February 14, 2025 @04:57AM
(#43046745)
Therefore, I prefer svelte (besides superior ergonomics & web-standards compliance): It's not a framework, but a compiler that outputs only pure JS. Svelte simply has no virtual DOM that can be messed up. Just Simplicity & efficiency.
[ Parent
| on HN ]
Re:Everything about Google Translate crashing React (and oth...
by gr__or on Friday February 14, 2025 @05:47AM
(#43047065)
You are confused about the issue, and the OP does its part in contributing to the confusion. It's not a VDOM issue, it's not React exclusive (that part the post is explicit about) and indeed Svelte is affected as well: https://github.com/sveltejs/svelte/issues/15090
When seeing issues like this one pop up with React in the title, one should really have a good think whether this is solved principally different in other fws OR, and this should be the null hypothesis, is React in the title because it is more widely used than all the others combined
Re:Everything about Google Translate crashing React (and oth...
by mentalgear on Friday February 14, 2025 @10:23AM
(#43049239)
Fair. The svelte sites I tried it out on had no issues, so I assumed it might be limited on React.
Re:Everything about Google Translate crashing React (and oth...
by tehbeard on Friday February 14, 2025 @06:01AM
(#43047159)
Svelte breaks just the same...
Go, get down off your high horse and try it yourself, finish the counter in their tutorial, put a console log in the handler, and translate the page to French...
C'est tres borked.