Closed abdel-17 closed 3 months ago
Latest commit: f18a7c589290b3bd19388ca7780a1c867ea41499
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Name | Status | Preview | Last Commit |
---|---|---|---|
runed | ✅ Ready (View Log) | Visit Preview | f18a7c589290b3bd19388ca7780a1c867ea41499 |
Some minor improvements on #63
1- Use internal utilities and types like
useEventListener
to simplify the code. 2- Make thematch
property private to prevent external mutation. 3- UpdateuseEventListener
's types to accept aMediaQueryList
.
Very good improvements indeed 🤟🏻🤟🏻🤟🏻
Some minor improvements on #63
1- Use internal utilities and types like
useEventListener
to simplify the code. 2- Make thematch
property private to prevent external mutation. 3- UpdateuseEventListener
's types to accept aMediaQueryList
.