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: Promised Components #15

Closed
wants to merge 1 commit into from

Commits on Nov 4, 2019

  1. add feature, promised components

    On picoapp.mount(), each component is now wrapped in a Promise.resolve, which has the following consequences:
    
    1. You can now asynchronously pass components to `picoapp` and `appInstance.add`.
    1. Picoapp requires that `Promise` be polyfilled for browsers that don’t support it.
    1. `appInstance.mount()` returns a `Promise` that resolves when all components have been successfully resolved and bound to the DOM.
    tylerbrostrom committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    aee0e50 View commit details
    Browse the repository at this point in the history