Closed kobiburnley closed 4 years ago
@kobiburnley we invested quite a lot in designing a correct solution for this issue and plan to solve it in the next Q. It would be best if you could wait.
@odedcagan regarding the concern of including UI in the bundle: Adding the fallback
doesn't mean the UI comes from the component bundle - it can still be passed from the hosting component.
Also, can you please share more specific timelines?
@odedcagan Because we need a solution really soon, for now we are considering a rewrite of ReactReloadableComponent with React.lazy + React.Suspense. What do you think?
maybe even better via prop: https://github.com/wix/react-module-container/commit/855931f97708cdcce91ab46e0c5eed167a346fc2
For components that are not loaded by the platform, but by another component, no loader is displayed. We wish to be able to show a loader while
react-loadable-component
fetches all resources.