ctrlplusb / react-async-component

Resolve components asynchronously, with support for code splitting and advanced server side rendering use cases.
MIT License
1.45k stars 62 forks source link

Remove checking "resolving" in needToResolveOnBrowser #99

Open lsycxyj opened 5 years ago

lsycxyj commented 5 years ago

The resolving condition will cause a bug when the component is resolving, then the current component is unmounted and then the component is recreated again right before the module is resolved. In this case, the component should get the existing resolver and update the rendering after the module is resolved. However, the resolving checking blocks this update.

lsycxyj commented 5 years ago

@ctrlplusb Friendly ping. No more maintenance?