Re:V8 adds support for top-level await
by jeswin on Tuesday September 24, 2019 @11:02PM
(#21067191)
Yeah but the impact of race conditions on front-end code (which is always single user) is minimal; unlike the backend where it's catastrophic and not fixable by refreshing the page.
[ Parent
| on HN ]
Re:V8 adds support for top-level await
by vidarh on Wednesday September 25, 2019 @03:43AM
(#21068660)
It is fixable by refreshing the page if there are no race conditions in the front-end.
If anything getting this right on the front-end is often extra problematic because of the high cost of round-tripping state to the server.