Skip to content

2021-05-17

Compare
Choose a tag to compare
@patricklafrance patricklafrance released this 17 May 18:08
· 2361 commits to master since this release
  • @orbit-ui/css-normalize => 4.0.0
  • @orbit-ui/react-components => 14.0.0
  • @orbit-ui/react => 16.0.0

Changes

  • Focus ring improvement #512
  • Padding issue with Disclosure #600
  • TextLink should have an underline by default #599

Breaking

  • Replace cancellablePromise by an AbortController #546

useAsyncSearch doesn't fully handle by itself request cancellation anymore. You must now pass the provided signal to your fetch request.

const fetcher = useAsyncSearch(async (query, signal) => {
    ...
    await fetch(url, { signal });
    ...
}