Skip to content

Commit ed62652

Browse files
Version Packages (#289)
1 parent fb302a0 commit ed62652

4 files changed

Lines changed: 13 additions & 17 deletions

File tree

.changeset/vast-impalas-fold.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/wise-keys-cough.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# react-frame-component
22

3+
## 5.3.2
4+
5+
### Patch Changes
6+
7+
- f191d58: Add types condition to package.json exports to fix TypeScript resolution with TSGo and modern ESM tools
8+
- 1820bc3: ## Fix race condition in getMountTarget() (issue #250)
9+
10+
Fixed "Cannot read properties of null" errors when `initialContent` changes rapidly by adding null checks for `doc` and `doc.body` in `getMountTarget()`.
11+
12+
### Changes
13+
- **src/Frame.jsx**: Added null check in `getMountTarget()` to handle cases when iframe document is temporarily unavailable during rapid rerenders
14+
315
## 5.3.1
416

517
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-frame-component",
3-
"version": "5.3.1",
3+
"version": "5.3.2",
44
"type": "module",
55
"description": "React component to wrap your application or component in an iFrame for encapsulation purposes",
66
"main": "dist/react-frame-component.umd.js",

0 commit comments

Comments
 (0)