Skip to content

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
klimashkin committed Oct 24, 2019
1 parent ce5ed5a commit 570e5ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
## Change Log

### 2.0.0 (2019-10-23)
- Refactor with React Hooks (@klimashkin)
- Remove showOnInit option, since breakpoin after first render is set synchronously in useEffect before ResizeObserver starts observing
- Update dependencies (@klimashkin)

### 1.0.0 (2018-03-15)
- Initial release (@klimashkin)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-size-watcher",
"version": "1.0.0",
"version": "2.0.0",
"author": "Pavel Klimashkin",
"description": "Leverage ResizeObserver to add breakpoints to your component and track its size",
"homepage": "https://github.com/klimashkin/react-size-watcher",
Expand Down

0 comments on commit 570e5ba

Please sign in to comment.