Skip to content

Conversation

TrinaChoudhury
Copy link

  • @loadable/component provides 2 methods preload and load method to load components through code synchronously. While preload doesn't return promise, load does.

  • On the other hand, react-loadable exposes preload method that returns promise.

The PR exposes "load" method which internally handles both the loadable libraries.

@trinachoudhury1mg
Copy link

cc: @tazsingh

@trinachoudhury1mg
Copy link

@tazsingh @gregberge - Please review the change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants