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

[core] Mark context value as nullable for optional providers #20278

Merged
merged 2 commits into from
Mar 26, 2020

Commits on Mar 25, 2020

  1. Update useFormControl TypeScript signature

    `useFormControl` will return `undefined` if there is no `FormControl` provider above in the React tree. `FormControlContext` doesn't provide a default value (maybe it should? See DefinitelyTyped/DefinitelyTyped#24509 (comment)).
    ianschmitz authored Mar 25, 2020
    Configuration menu
    Copy the full SHA
    f79c200 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    afcd7b3 View commit details
    Browse the repository at this point in the history