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

refactor(datepickers): use context rather than prop drilling #1311

Merged
merged 1 commit into from
Apr 1, 2022

Conversation

hzhu
Copy link
Contributor

@hzhu hzhu commented Mar 31, 2022

Description

Refactor to remove prop drilling values and use the values from context instead because drilled values come from context anyways.

Checklist

  • πŸ‘Œ design updates are Garden Designer approved (add the
    designer as a reviewer)
  • 🌐 demo is up-to-date (yarn start)
  • ⬅️ renders as expected with reversed (RTL) direction
  • 🀘 renders as expected with Bedrock CSS (?bedrock)
  • β™Ώ analyzed via axe and evaluated using VoiceOver
  • πŸ’‚β€β™‚οΈ includes new unit tests
  • πŸ“ tested in Chrome, Firefox, Safari, Edge, and IE11

@hzhu hzhu self-assigned this Mar 31, 2022
@hzhu hzhu marked this pull request as ready for review March 31, 2022 16:38
@hzhu hzhu requested a review from a team as a code owner March 31, 2022 16:38
@coveralls
Copy link

coveralls commented Mar 31, 2022

Coverage Status

Coverage remained the same at 95.853% when pulling cf29945 on hzhu/datepicker-range-refactor into 3577320 on main.

@hzhu hzhu force-pushed the hzhu/datepicker-range-refactor branch from 5cc46bb to cf29945 Compare April 1, 2022 19:47
@hzhu hzhu merged commit e4f108d into main Apr 1, 2022
@hzhu hzhu deleted the hzhu/datepicker-range-refactor branch April 1, 2022 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

4 participants