2 ms·
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 <Pro
by kevincox 4y 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.
- albrewer 4y agoThe option exists in C# / WPF, too, so not handling it and just blocking the main thread is bad programming.