React performance with the --example leaderboard


#1

It’s the first time I play with React inside Meteor and I am fairly new the React in general.

To test the performance, I just modified the famous “Leaderboard” example to use React Components and listed 500 records that have a name, score, phrase.

react-perf.meteor.com

If you click the “Randomness” button, you will trigger a 100ms interval that will add random points to random people in the Collection. The list gets updated but you get very poor performance IMO.

I don’t know if it’s something that I do, but shouldn’t 500 updating documents be more smooth?

The phrase is also very long in order to achieve some DOM memory hog (I thought…).
You can remove that from the Player Component, this is the repo: https://github.com/raduchiriac/react-perf