Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
createContainer.js: added getComponent() to return the original compo…
Browse files Browse the repository at this point in the history
…nent
  • Loading branch information
ngduc authored and RickWong committed Sep 21, 2016
1 parent 937998a commit e81c394
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/createContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ module.exports = function (Component, options) {
).then(function (fetchedFragments) {
return assign.apply(null, fetchedFragments);
});
},
getComponent: function () {
return Component;
}
},
componentDidMount: function () {
Expand Down

0 comments on commit e81c394

Please sign in to comment.