Skip to content

v3.0.0

Compare
Choose a tag to compare
@evert evert released this 22 Feb 01:06
· 103 commits to main since this release
c86db80
  • BC Break: The signature of useResource has changed, but only if you were
    passing options. If you called useResource(options) before, it must now
    be structured as useResource(resource, options) to be consistent with
    every other hook. See #63 for more information.
  • In some cases when a React component passes a new resource as a string to
    useResource, the useResource might return "undefined" for the resource,
    which can result in a white screen of death.
    This one was a bit of a doozy, check the PR for more information: #67
  • Remove an unneeded initial render in useCollection.