top | item 42286275

(no title)

slotrans | 1 year ago

> React performance concerns in the real world are typically measured in, at worst, hundreds of milliseconds.

Many years ago I worked at a wonderful company that made the terrible decision to rebuild the frontend in React. We had a performance dashboard permanently displayed on a TV in the office, prominently showing the p99 time-to-interactive of our home page. It sat at TWENTY SECONDS for at least 2 years. No progress was ever made, to the best of my knowledge.

This was an e-commerce site, more or less. As per the author's reasoning, it absolutely should not have been an SPA.

discuss

order

gf000|1 year ago

E-commerce sites are a pretty good fit for SPAs. Sounds like a bad rewrite, nothing more, nothing less.

exceptione|1 year ago

Why do you think that?

The only client side component of interest would be filtering and sorting, (although the server could render the new state too). I would choose traditional server side + a little bit of client side code here.