-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/async require support #18
Conversation
tests/mochs/MochComponent.jsx
Outdated
@@ -25,7 +26,7 @@ class MochComponent extends React.Component { | |||
} | |||
|
|||
MochComponent.propTypes = { | |||
title: React.PropTypes.string, | |||
title: PropTypes.string, | |||
}; | |||
|
|||
export default MochComponent; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason this is called MochComponent
instead of MockComponent
? Or is it just a typo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed :)
src/Bootstrapper.js
Outdated
const factory = container.domFactory(); | ||
const id = container.id(); | ||
const q = []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be nice to give this a more descriptive name, even if it's just queue
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep good idea, changed for resolveQueue
Hey Guys,
Can you check this one too when you get a chance please.
This now adds code splitting support by using Promises to resolve components and fixes issue #2. I've also update the docs substantially so its a bit easier to navigate since they are so huge. You can preview them here.