Skip to content

feat(SwitchCase): add support for symbol type #251

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

metacode22
Copy link

Overview

This PR extends the SwitchCase component to support symbol type in addition to boolean, string, and number.

However, I'm somewhat concerned this might be over-engineering since symbol usage in typical React applications is relatively rare. I'd appreciate any feedback or thoughts on whether this addition provides sufficient value to justify the complexity.

Checklist

  • Did you write the test code?
  • Have you run yarn run fix to format and lint the code and docs?
  • Have you run yarn run test:coverage to make sure there is no uncovered line?
  • Did you write the JSDoc?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant