Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 27, 2022
1 parent f55026f commit 7eb92d4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .changeset/angry-files-kick.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/slate-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# slate-react

## 0.82.0

### Minor Changes

- [#5041](https://github.com/ianstormtaylor/slate/pull/5041) [`9bc0b613`](https://github.com/ianstormtaylor/slate/commit/9bc0b6132aa288a37ae9a85d0e59a9d5a75ebdd7) Thanks [@bryanph](https://github.com/bryanph)! - - Introduces a `useSlateSelection` hook that triggers whenever the selection changes.
- This also changes the implementation of SlateContext to use an incrementing value instead of an array replace to trigger updates
- Introduces a `useSlateWithV` hook that includes the version counter which can be used to prevent re-renders

## 0.81.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/slate-react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "slate-react",
"description": "Tools for building completely customizable richtext editors with React.",
"version": "0.81.3",
"version": "0.82.0",
"license": "MIT",
"repository": "git://github.com/ianstormtaylor/slate.git",
"main": "dist/index.js",
Expand Down

0 comments on commit 7eb92d4

Please sign in to comment.