Hacker News new | ask | show | jobs
by kevincox 1252 days ago
This is actually one of the things that I appreciate from React. Because the view is synchronous you need to explicitly bail out on loading states (`return <ProgressSpinner/>`). In general you are presented the option to do something while the async work is running and other parts of the UI almost always work.
1 comments

The option exists in C# / WPF, too, so not handling it and just blocking the main thread is bad programming.