Rodolfo Gobbi De Angeli

Results 3 issues of Rodolfo Gobbi De Angeli

## What's Changed Update the `select` function in the `src/selection/useRange.tsx` hook to improve the performance. ## Type of Change - [X] Bug fix - [ ] New feature - [...

performance

When using the `react-day-picker` component to select a date range, if the selected date range is too long, the UI takes too long to respond after selecting a new date....

**What**: Fix `getQueriesForElement` type. **Why**: Type definition for `getQueriesForElement` doesn't match the [JS implementation](https://github.com/testing-library/dom-testing-library/blob/a86c54ccda5242ad8dfc1c70d31980bdbf96af7f/src/get-queries-for-element.js#L13). **How**: Add `initialValue` third parameter to the function signature. **Checklist**: - [ ] Documentation added to...