Re:Making Sense of React Server Components
by littlecranky67 on Friday September 08, 2023 @02:51AM
(#37430337)
While not strictly on "the DOM", a lot of modern APIs are within the browser's JS VM (Notification, Camera, Audio, QR scanning, etc.) and all of them are async to the core. My argument therefore stands.
[ Parent
| on HN ]
Re:Making Sense of React Server Components
by SahAssar on Monday September 11, 2023 @02:37PM
(#37471646)
It does not, since most of those APIs are not directly called from the framework. What react and most other JS frameworks do is DOM modification (which is clearly sync) and delegate events (which is usually done via callbacks or binding).