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

fix(JSX): remove Promise from FC #5730

Merged
merged 1 commit into from
Jan 18, 2024
Merged

Commits on Jan 18, 2024

  1. fix(JSX): remove Promise from FC

    The fact that components are QRLs and return Promises is an implementation detail.
    
    Also removes constraints from FunctionComponent props, to make inferral
    work better. It's ok that props are now allowed to be non-objects,
    because in actuality it just doesn't work and the mistake would be
    apparent immediately.
    
    This also changes the intrinsic attributes a bit so that q:slot is
    available on Components.
    wmertens committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    e4c685c View commit details
    Browse the repository at this point in the history