Tatoeba / tatoeba2

Tatoeba is a platform whose purpose is to create a collaborative and open dataset of sentences and their translations.
https://tatoeba.org
GNU Affero General Public License v3.0
678 stars 131 forks source link

Migrating from deprecated AngularJS #3105

Open profesyonal opened 3 months ago

profesyonal commented 3 months ago

AngularJS is no longer supported, which means its continued use could pose a security risk to the site.

Google recommends migrating to Angular, but I don't know enough to know whether this is the best thing to switch to.

Yorwba commented 3 months ago

We previously discussed switching from AngularJS in the comments on a pull request, because AngularJS is dog slow at rendering anything with lots of components. (Or we're simply using it wrong.)

A good test to evaluate whether another framework is worth switching to would be to replicate the component for showing a single sentence with its translations, and then measure the performance when the number of translations is in the hundreds.