Re:Ask HN: What is the single top-priority software engineer...
by richajak on Sunday February 09, 2020 @09:06PM
(#22285824)
For this specific example, I would use event listener to sync the content. All done manually in DOM, no shortcut, some codes duplicated. I think that's what SPA frameworks and its components try to promote, single point of update.
Personally, I like the vannila JS approach, a bit tedious, but I know what I will get.
Re:Ask HN: What is the single top-priority software engineer...
by chubot on Saturday February 08, 2020 @09:54PM
(#22280089)
I don't really see what you're saying. That doesn't appear to apply to any of the examples I gave: AirBNB, Grubhub, Github, YouTube, etc.
Or if it does, it applies to a small part of the site. Again, the claim is: most sites are mostly static content.
Is this silly? Absolutely. Is it a global optimum? Possibly.