---
search:
  exclude: true
changelog:
  category: Release
  version: 8.34.0
date: '2022-04-12T12:02:29Z'
seo:
  description: >-
    upgrade to React 18 (#538) (98bb83f)Upgrade Storybook and other dev
    dependencies. This removes the old tag prop from <InView>, that was
    deprecated by as some…
title: v8.34.0
type: changelog
---
# [8.34.0](https://github.com/thebuilder/react-intersection-observer/compare/v8.33.1...v8.34.0) (2022-04-12)


## Features

* upgrade to React 18 ([#538](https://github.com/thebuilder/react-intersection-observer/issues/538)) ([98bb83f](https://github.com/thebuilder/react-intersection-observer/commit/98bb83ff73713a216a93003825e9ee15175e6d8d))
* Upgrade Storybook and other dev dependencies.

### Breaking changes
* This removes the old `tag` prop from `<InView>`, that was deprecated by `as` some years ago. If you haven't changed it, this could break your build. The fix would be to replace all instances of `tag` with `as`.
* Changed the type of `as` from the old `ReactType` to `ElementType`. This would only be a problem if you are still using the old version of the React Types.
