Skip to content

Commit

Permalink
chore(release): 4.0.0 [skip ci]
Browse files Browse the repository at this point in the history
# [4.0.0](v3.0.1...v4.0.0) (2022-10-19)

### Code Refactoring

* remove threshold ([a5e3eba](a5e3eba))
* rename `InvisibleComponent` to `fallback` ([0b25cfe](0b25cfe))

### Features

* add suspense prop ([19fc57c](19fc57c))
* change props to make easy to use IntersectionObserver ([851ac6d](851ac6d))

### Performance Improvements

* cache IntersectionObserver ([2cd4473](2cd4473))

### BREAKING CHANGES

* Please use `direction` and `margin` props instead of `rootMargin` .
* remove `threshold` props. `threshold` is always `0` .
* You should rename `InvisibleComponent` to `fallback` .
* no longer automatically add Suspense. you should add `suspense` if you need it.
  • Loading branch information
semantic-release-bot committed Oct 19, 2022
1 parent 2aafe75 commit f94167f
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 3 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
# [4.0.0](https://github.com/hiroki0525/react-dom-lazyload-component/compare/v3.0.1...v4.0.0) (2022-10-19)


### Code Refactoring

* remove threshold ([a5e3eba](https://github.com/hiroki0525/react-dom-lazyload-component/commit/a5e3ebaa0d042f13031860a6a019b5d2be9a15ab))
* rename `InvisibleComponent` to `fallback` ([0b25cfe](https://github.com/hiroki0525/react-dom-lazyload-component/commit/0b25cfeeeb290560673f44abb3cc3091a031da9b))


### Features

* add suspense prop ([19fc57c](https://github.com/hiroki0525/react-dom-lazyload-component/commit/19fc57cefe018bfc0921ebc7ce13d848701edadc))
* change props to make easy to use IntersectionObserver ([851ac6d](https://github.com/hiroki0525/react-dom-lazyload-component/commit/851ac6d2c9b579d362220ddddc83353f217daf13))


### Performance Improvements

* cache IntersectionObserver ([2cd4473](https://github.com/hiroki0525/react-dom-lazyload-component/commit/2cd447317144a0c9b9fa6ac8060abd5c7d092158))


### BREAKING CHANGES

* Please use `direction` and `margin` props instead of `rootMargin` .
* remove `threshold` props. `threshold` is always `0` .
* You should rename `InvisibleComponent` to `fallback` .
* no longer automatically add Suspense. you should add `suspense` if you need it.

## [3.0.1](https://github.com/hiroki0525/react-dom-lazyload-component/compare/v3.0.0...v3.0.1) (2022-10-19)


Expand Down
24 changes: 22 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-dom-lazyload-component",
"version": "3.0.1",
"version": "4.0.0",
"description": "React Lazy Load Component for your Website Performance",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit f94167f

Please sign in to comment.