---
search:
  exclude: true
changelog:
  category: Release
  version: 9.5.0
date: '2023-06-17T20:20:04Z'
seo:
  description: >-
    This release switches the build tool to tsup, in order for the package to
    support the use client directive. Hopefully it shouldn't have an impact on
    usage…
title: v9.5.0
type: changelog
---
# [9.5.0](https://github.com/thebuilder/react-intersection-observer/compare/v9.4.4...v9.5.0) (2023-06-17)



### Breaking changes
This release switches the build tool to [tsup](https://tsup.egoist.dev), in order for the package to support the `use client` directive. Hopefully it shouldn't have an impact on usage, but changing build output, always carries a slight risk of some tooling breaking.

* Changes the export file names. If you relied on importing files directly, then you'll need to change the imports.
* Drops bundling the "umd" version. If anyone was relying on this, let me know. 

### Features

* support "use client" with tsup ([db2254b](https://github.com/thebuilder/react-intersection-observer/commit/db2254bd0207a3be8cfa7d7ac86f2c80d6d715c5))
* switch to tsup build ([9bd69f5](https://github.com/thebuilder/react-intersection-observer/commit/9bd69f5467ce656fb17b7cb9cea62ee3c6dd6210))
