Skip to content
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

Merged
merged 24 commits into from
Jun 3, 2017
Merged

Conversation

jennasalau
Copy link
Contributor

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.

@@ -25,7 +26,7 @@ class MochComponent extends React.Component {
}

MochComponent.propTypes = {
title: React.PropTypes.string,
title: PropTypes.string,
};

export default MochComponent;

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed :)

const factory = container.domFactory();
const id = container.id();
const q = [];

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.

Copy link
Contributor Author

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

@jennasalau jennasalau merged commit 3cbe38b into develop Jun 3, 2017
@jennasalau jennasalau deleted the feature/async-require-support branch August 20, 2017 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants