4 ms·
As I said, this project was about as complex as Figma: a feature rich collaborative editor. This designation has nothing to do with code size. Go hook up the R
by rcme 4y ago
As I said, this project was about as complex as Figma: a feature rich collaborative editor. This designation has nothing to do with code size.
Go hook up the React dev tools to Reddit and look how much each component renders. You see that components are constantly rendering even though nothing apparent has changed. I get that ideally React would only re-render when something has changed, but clearly it’s easy to create situations where react thinks something has changed even if it hasn’t.
Another good example is the Facebook website itself. It’s just so slow. I get saying Reddit developers suck, but I don’t think you can say the same about FB developers given that FB made React. React is popular because it’s a good developer experience. It’s not the best choice if you want optimal performance.
- bayesian_horse 4y agoI have a hard time assuming you are not confusing network delays with rendering speed...
- rcme 4y agoYes, that seems to be a common theme: you have a hard time believing anything that doesn’t fit with your preconceived notions. Again, connect React dev tools to Reddit yourself. Given that you’ve been given a concrete example of a slow website, I have a hard time believing you can even differentiate a performant website from a slow one.