Skip to content

Commit 6a10451

Browse files
v3.0.1 (#744)
1 parent 2900c34 commit 6a10451

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 3.0.1 (September 30th, 2024)
4+
5+
- FIX [743](https://github.com/MatthewHerbst/react-to-print/pull/743) Allow passing the function returned from `useReactToPrint` directly to event handlers (this is primarily geared at non-typescript users who are not aware of the new v3 API that prefers the function be wrapped, by changing `onClick={printFn}` to `onClick={() => printFn()}`)
6+
37
## 3.0.0 (September 28th, 2024)
48

59
v3.0.0 brings API modernization, React 19 support, a smaller package size, Shadow DOM support, and improved error handling.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-to-print",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "Print React components in the browser",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",

0 commit comments

Comments
 (0)